Skip to content

Commit c4f95f9

Browse files
committed
Fix test
Need to introduce a side effect to avoid a "pure expression does nothing in statement position" warning.
1 parent 6a9a214 commit c4f95f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbt-bridge/test/xsbt/DependencySpecification.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class DependencySpecification {
9292
"""object A {
9393
| def foo = { B; () }
9494
|}""".stripMargin
95-
val srcB = "object B"
95+
val srcB = "object B { println("foo") }"
9696

9797
val compilerForTesting = new ScalaCompilerForUnitTesting
9898
val classDependencies =

0 commit comments

Comments
 (0)