File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
language-server/test/dotty/tools/languageserver Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ class CompletionTest {
361
361
@ Test def completeExtensionMethodFromGivenInstanceDefinedInScope : Unit = {
362
362
code """ object Foo
363
363
|trait FooOps
364
- |given FooOps {
364
+ |given FooOps with {
365
365
| extension (foo: Foo.type) def xxxx = 1
366
366
|}
367
367
|object Main { Foo.xx ${m1} } """ .withSource
@@ -372,7 +372,7 @@ class CompletionTest {
372
372
code """ object Foo
373
373
|trait FooOps
374
374
|object Bar {
375
- | given FooOps {
375
+ | given FooOps with {
376
376
| extension (foo: Foo.type) def xxxx = 1
377
377
| }
378
378
|}
@@ -394,7 +394,7 @@ class CompletionTest {
394
394
code """ trait Bar
395
395
|case class Foo(i: Int)
396
396
|object Foo {
397
- | given Bar {
397
+ | given Bar with {
398
398
| extension (foo: Foo) def xxxx = foo.i
399
399
| }
400
400
|}
You can’t perform that action at this time.
0 commit comments