Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: unignore tests after backport #6227

Merged
merged 1 commit into from Mar 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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