Skip to content

Commit

Permalink
chore: unignore tests for backported changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Mar 4, 2024
1 parent 134a912 commit 34e2213
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions tests/cross/src/test/scala/tests/pc/CompletionCaseSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class CompletionCaseSuite extends BaseCompletionSuite {
)

check(
"lambda".tag(IgnoreForScala3CompilerPC),
"lambda",
"""
|object A {
| List(Option(1)).foreach {
Expand Down Expand Up @@ -325,7 +325,7 @@ class CompletionCaseSuite extends BaseCompletionSuite {
)

check(
"lambda-curry".tag(IgnoreForScala3CompilerPC),
"lambda-curry",
"""
|object A {
| List(Option(1)).map {
Expand All @@ -343,7 +343,7 @@ class CompletionCaseSuite extends BaseCompletionSuite {
)

check(
"partial".tag(IgnoreForScala3CompilerPC),
"partial",
"""
|object A {
| List(Option(1)).collect {
Expand Down Expand Up @@ -581,7 +581,7 @@ class CompletionCaseSuite extends BaseCompletionSuite {
)

check(
"private-member1".tag(IgnoreScala2.and(IgnoreForScala3CompilerPC)),
"private-member1".tag(IgnoreScala2),
"""
|package example
|import scala.collection.immutable.Vector
Expand Down Expand Up @@ -781,7 +781,7 @@ class CompletionCaseSuite extends BaseCompletionSuite {
)

check(
"keyword-only".tag(IgnoreForScala3CompilerPC),
"keyword-only",
"""
|sealed trait Alpha
|object A {
Expand All @@ -794,7 +794,7 @@ class CompletionCaseSuite extends BaseCompletionSuite {
)

check(
"union-type".tag(IgnoreScala2.and(IgnoreForScala3CompilerPC)),
"union-type".tag(IgnoreScala2),
"""
|case class Foo(a: Int)
|case class Bar(b: Int)
Expand All @@ -810,7 +810,7 @@ class CompletionCaseSuite extends BaseCompletionSuite {
)

checkEdit(
"union-type-edit".tag(IgnoreScala2.and(IgnoreForScala3CompilerPC)),
"union-type-edit".tag(IgnoreScala2),
"""
|case class Foo(a: Int)
|case class Bar(b: Int)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ class CompletionExtensionMethodSuite extends BaseCompletionSuite {
)

check(
"implicit-val-var".tag(IgnoreForScala3CompilerPC),
"implicit-val-var",
"""|package example
|
|object Test {
Expand Down Expand Up @@ -537,7 +537,7 @@ class CompletionExtensionMethodSuite extends BaseCompletionSuite {
)

checkEdit(
"implicit-val-edit".tag(IgnoreForScala3CompilerPC),
"implicit-val-edit",
"""|package example
|
|object Test {
Expand Down
12 changes: 6 additions & 6 deletions tests/cross/src/test/scala/tests/pc/CompletionMatchSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class CompletionMatchSuite extends BaseCompletionSuite {
)

check(
"match".tag(IgnoreForScala3CompilerPC),
"match",
"""
|object A {
| Option(1) match@@
Expand All @@ -21,7 +21,7 @@ class CompletionMatchSuite extends BaseCompletionSuite {
)

check(
"trailing-expression".tag(IgnoreForScala3CompilerPC),
"trailing-expression",
"""
|object A {
| Option(1) match@@
Expand All @@ -34,7 +34,7 @@ class CompletionMatchSuite extends BaseCompletionSuite {

// In Scala3 it's allowed to write xxx.match
check(
"dot".tag(IgnoreForScala3CompilerPC),
"dot",
"""
|object A {
| Option(1).match@@
Expand Down Expand Up @@ -457,7 +457,7 @@ class CompletionMatchSuite extends BaseCompletionSuite {
)
)
check(
"exhaustive-map".tag(IgnoreForScala3CompilerPC),
"exhaustive-map",
"""
|object A {
| List(Option(1)).map{ ca@@ }
Expand Down Expand Up @@ -842,7 +842,7 @@ class CompletionMatchSuite extends BaseCompletionSuite {
)

check(
"union-type".tag(IgnoreScala2.and(IgnoreForScala3CompilerPC)),
"union-type".tag(IgnoreScala2),
"""
|case class Foo(a: Int)
|case class Bar(b: Int)
Expand All @@ -857,7 +857,7 @@ class CompletionMatchSuite extends BaseCompletionSuite {
)

checkEdit(
"union-type-edit".tag(IgnoreScala2.and(IgnoreForScala3CompilerPC)),
"union-type-edit".tag(IgnoreScala2),
"""
|case class Foo(a: Int)
|case class Bar(b: Int)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ class CompletionWorkspaceSuite extends BaseCompletionSuite {
)

check(
"implicit-class-val".tag(IgnoreForScala3CompilerPC),
"implicit-class-val",
"""|package demo
|
|object O {
Expand All @@ -1042,7 +1042,7 @@ class CompletionWorkspaceSuite extends BaseCompletionSuite {
)

check(
"implicit-class-def".tag(IgnoreForScala3CompilerPC),
"implicit-class-def",
"""|package demo
|
|object O {
Expand All @@ -1059,7 +1059,7 @@ class CompletionWorkspaceSuite extends BaseCompletionSuite {
)

check(
"extension-method".tag(IgnoreScala2.and(IgnoreForScala3CompilerPC)),
"extension-method".tag(IgnoreScala2),
"""|package demo
|
|object O {
Expand Down

0 comments on commit 34e2213

Please sign in to comment.