Skip to content

Commit e650c86

Browse files
committed
Adapt the expected result of the jUnitForwarders test.
1 parent 2811429 commit e650c86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/run/junitForwarders/C_1.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ object Test extends App {
1717
assert(s == e, s"found: $s\nexpected: $e")
1818
}
1919
check(classOf[C], "foo - @org.junit.Test()")
20-
// TODO scala-dev#213: should `foo$` really carry the @Test annotation?
21-
check(classOf[T], "$init$ - ;foo - @org.junit.Test()")
22-
check(classOf[U], "bar - @org.junit.Test()")
20+
// scala/scala-dev#213, scala/scala#5570: `foo$` should not have the @Test annotation
21+
check(classOf[T], "$init$ - ;$init$ - ;foo - @org.junit.Test();foo$ - ")
22+
check(classOf[U], "bar - @org.junit.Test();bar$ - ")
2323
}

0 commit comments

Comments
 (0)