Skip to content

Commit 39166de

Browse files
committed
Fix tests
1 parent f3416a6 commit 39166de

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.drone.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ pipeline:
4949
commands:
5050
- cp -R . /tmp/4/ && cd /tmp/4/
5151
- ./project/scripts/sbt sbt-dotty/scripted
52-
# when:
53-
# # sbt scripted tests are slow and only run on nightly or deployment
54-
# event: [ tag, deployment ]
52+
when:
53+
# sbt scripted tests are slow and only run on nightly or deployment
54+
event: [ tag, deployment ]
5555

5656
# DOCUMENTATION:
5757
documentation:

sbt-bridge/test/xsbt/ExtractUsedNamesSpecification.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ExtractUsedNamesSpecification {
1515
|}""".stripMargin
1616
val compilerForTesting = new ScalaCompilerForUnitTesting
1717
val usedNames = compilerForTesting.extractUsedNamesFromSrc(src)
18-
val expectedNames = standardNames ++ Set("a", "A", "A2", "b")
18+
val expectedNames = standardNames ++ Set("A", "A2")
1919
// names used at top level are attributed to the first class defined in a compilation unit
2020

2121
assertEquals(expectedNames, usedNames("a.A"))
@@ -43,7 +43,7 @@ class ExtractUsedNamesSpecification {
4343
|}""".stripMargin
4444
val compilerForTesting = new ScalaCompilerForUnitTesting
4545
val usedNames = compilerForTesting.extractUsedNamesFromSrc(srcA, srcB)
46-
val expectedNames = standardNames ++ Set("a", "c", "A", "B", "C", "D", "b", "BB")
46+
val expectedNames = standardNames ++ Set("A", "B", "C", "D", "BB")
4747
assertEquals(expectedNames, usedNames("b.X"))
4848
}
4949

0 commit comments

Comments
 (0)