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 {
361361 @ Test def completeExtensionMethodFromGivenInstanceDefinedInScope : Unit = {
362362 code """ object Foo
363363 |trait FooOps
364- |given FooOps {
364+ |given FooOps with {
365365 | extension (foo: Foo.type) def xxxx = 1
366366 |}
367367 |object Main { Foo.xx ${m1} } """ .withSource
@@ -372,7 +372,7 @@ class CompletionTest {
372372 code """ object Foo
373373 |trait FooOps
374374 |object Bar {
375- | given FooOps {
375+ | given FooOps with {
376376 | extension (foo: Foo.type) def xxxx = 1
377377 | }
378378 |}
@@ -394,7 +394,7 @@ class CompletionTest {
394394 code """ trait Bar
395395 |case class Foo(i: Int)
396396 |object Foo {
397- | given Bar {
397+ | given Bar with {
398398 | extension (foo: Foo) def xxxx = foo.i
399399 | }
400400 |}
You can’t perform that action at this time.
0 commit comments