Skip to content

Commit

Permalink
chore: unignore tests after backport
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek authored and tgodzik committed Mar 15, 2024
1 parent fe430b2 commit b8e1fc1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/cross/src/test/scala/tests/pc/InlayHintsSuite.scala
Expand Up @@ -9,7 +9,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {
)

check(
"local".tag(IgnoreForScala3CompilerPC),
"local",
"""|object Main {
| def foo() = {
| implicit val imp: Int = 2
Expand Down Expand Up @@ -76,7 +76,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {
)

check(
"implicit-param".tag(IgnoreForScala3CompilerPC),
"implicit-param",
"""|case class User(name: String)
|object Main {
| implicit val imp: Int = 2
Expand Down Expand Up @@ -120,7 +120,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {
)

check(
"using-param".tag(IgnoreScala2.and(IgnoreForScala3CompilerPC)),
"using-param".tag(IgnoreScala2),
"""|case class User(name: String)
|object Main {
| implicit val imp: Int = 2
Expand Down Expand Up @@ -566,7 +566,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {
)

check(
"ord".tag(IgnoreForScala3CompilerPC),
"ord",
"""|object Main {
| val ordered = "acb".sorted
|}
Expand Down Expand Up @@ -628,7 +628,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {

check(
"complex".tag(
IgnoreScalaVersion.forLessThan("2.12.16").and(IgnoreForScala3CompilerPC)
IgnoreScalaVersion.forLessThan("2.12.16")
),
"""|object ScalatestMock {
| class SRF
Expand Down Expand Up @@ -817,7 +817,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {

// NOTE: We don't show inlayHints for anonymous given instances
check(
"anonymous-given".tag(IgnoreScala2.and(IgnoreForScala3CompilerPC)),
"anonymous-given".tag(IgnoreScala2),
"""|package example
|
|trait Ord[T]:
Expand Down Expand Up @@ -850,7 +850,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {

// TODO: Add a separate option for hints for context bounds
check(
"context-bounds1".tag(IgnoreScala2.and(IgnoreForScala3CompilerPC)),
"context-bounds1".tag(IgnoreScala2),
"""|package example
|object O {
| given Int = 1
Expand All @@ -868,7 +868,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {
)

check(
"context-bounds2".tag(IgnoreForScala3CompilerPC),
"context-bounds2",
"""|package example
|object O {
| def test[T: Ordering](x: T) = ???
Expand All @@ -892,7 +892,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {
)

check(
"context-bounds3".tag(IgnoreScala2.and(IgnoreForScala3CompilerPC)),
"context-bounds3".tag(IgnoreScala2),
"""|package example
|object O {
| def test[T: Ordering](x: T)(using Int) = ???
Expand All @@ -908,7 +908,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {
)

check(
"context-bounds4".tag(IgnoreForScala3CompilerPC),
"context-bounds4",
"""|package example
|object O {
| implicit val i: Int = 123
Expand Down

0 comments on commit b8e1fc1

Please sign in to comment.