Skip to content

Commit a48a5aa

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run/junitForwarders/C_1.scala

Lines changed: 2 additions & 2 deletions
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()")
20+
// scala/scala-dev#213, scala/scala#5570: `foo$` should not have the @Test annotation
21+
check(classOf[T], "$init$ - ;$init$ - ;foo - @org.junitlike.Test();foo$ - ")
2222
check(classOf[U], "bar - @org.junit.Test()")
2323
}

0 commit comments

Comments
 (0)