Skip to content

Commit 88db2cf

Browse files
committed
Fix CompletionKeywordSuite
1 parent f0e89ba commit 88db2cf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

presentation-compiler/test/dotty/tools/pc/tests/completion/CompletionKeywordSuite.scala

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class CompletionKeywordSuite extends BaseCompletionSuite:
2121
|""".stripMargin,
2222
"""|superVisorStrategy: Int (commit: '')
2323
|super (commit: '')
24+
|superArg(p: String, v: Any): superArg - scala.annotation.meta (commit: '')
25+
|superFwdArg(p: String, n: String): superFwdArg - scala.annotation.meta (commit: '')
2426
|""".stripMargin,
2527
includeCommitCharacter = true
2628
)
@@ -78,6 +80,8 @@ class CompletionKeywordSuite extends BaseCompletionSuite:
7880
|""".stripMargin,
7981
"""|superVisorStrategy: Int
8082
|super
83+
|superArg(p: String, v: Any): superArg - scala.annotation.meta
84+
|superFwdArg(p: String, n: String): superFwdArg - scala.annotation.meta
8185
|""".stripMargin
8286
)
8387

@@ -98,6 +102,8 @@ class CompletionKeywordSuite extends BaseCompletionSuite:
98102
|""".stripMargin,
99103
"""|superVisorStrategy: Int
100104
|super
105+
|superArg(p: String, v: Any): superArg - scala.annotation.meta
106+
|superFwdArg(p: String, n: String): superFwdArg - scala.annotation.meta
101107
|""".stripMargin
102108
)
103109

@@ -118,6 +124,8 @@ class CompletionKeywordSuite extends BaseCompletionSuite:
118124
|""".stripMargin,
119125
"""|superVisorStrategy: Int
120126
|super
127+
|superArg(p: String, v: Any): superArg - scala.annotation.meta
128+
|superFwdArg(p: String, n: String): superFwdArg - scala.annotation.meta
121129
|""".stripMargin
122130
)
123131

@@ -135,6 +143,8 @@ class CompletionKeywordSuite extends BaseCompletionSuite:
135143
|}
136144
|""".stripMargin,
137145
"""|super
146+
|superArg(p: String, v: Any): superArg - scala.annotation.meta
147+
|superFwdArg(p: String, n: String): superFwdArg - scala.annotation.meta
138148
|""".stripMargin
139149
)
140150

@@ -392,6 +402,8 @@ class CompletionKeywordSuite extends BaseCompletionSuite:
392402
""".stripMargin,
393403
"""|supervisorStrategy: Int
394404
|super
405+
|superArg(p: String, v: Any): superArg - scala.annotation.meta
406+
|superFwdArg(p: String, n: String): superFwdArg - scala.annotation.meta
395407
|""".stripMargin
396408
)
397409

0 commit comments

Comments
 (0)