Skip to content

Commit 6005b22

Browse files
committed
Fix test to use symbolic names
1 parent 57ddd2b commit 6005b22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sbt-bridge/test/xsbt/ExtractUsedNamesSpecification.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class ExtractUsedNamesSpecification extends Specification {
8181
// We could avoid this by checking if the untyped tree has a return type
8282
// but is it worth it? Revisit this after https://github.com/sbt/sbt/issues/1104
8383
// has landed.
84-
val expectedNames = standardNames ++ Set("A", "a", "$eq", "Int")
84+
val expectedNames = standardNames ++ Set("A", "a", "=", "Int")
8585
usedNames === expectedNames
8686
}
8787

@@ -114,7 +114,7 @@ class ExtractUsedNamesSpecification extends Specification {
114114
val compilerForTesting = new ScalaCompilerForUnitTesting(nameHashing = true)
115115
val usedNames = compilerForTesting.extractUsedNamesFromSrc(src1, src2)
116116
val expectedNames = standardNames ++ Set("Test", "Test$", "B", "B$",
117-
"Predef", "Predef$", "$qmark$qmark$qmark", "Nothing",
117+
"Predef", "Predef$", "???", "Nothing",
118118
"lista", "List", "A",
119119
"at", "T", "X1", "X0",
120120
"as", "S", "Y",

0 commit comments

Comments
 (0)