Skip to content

Commit 00cd302

Browse files
committed
Filter tests to contain only completions that should be available on each jdk
1 parent a213301 commit 00cd302

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

presentation-compiler/test/dotty/tools/pc/tests/completion/CompletionSuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ class CompletionSuite extends BaseCompletionSuite:
171171
|PooledConnectionBuilder - javax.sql
172172
|CertPathBuilderException - java.security.cert
173173
|PKIXCertPathBuilderResult - java.security.cert
174-
|""".stripMargin
174+
|""".stripMargin,
175+
filter = !_.contains("javax.sql") // Not shipped with all JDKs
175176
)
176177

177178
@Test def companion =

0 commit comments

Comments
 (0)