Skip to content

Commit a1a92d4

Browse files
committed
Fixed a failing test in ShouldCompileSpec when build with non-dotty.
1 parent f1a6cbf commit a1a92d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scalatest-test/src/test/scala/org/scalatest/ShouldCompileSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class ShouldCompileSpec extends FunSpec {
7777
// SKIP-DOTTY-START
7878
it("should throw TestFailedException with correct message and stack depth when parse failed") {
7979
val e = intercept[TestFailedException] {
80-
"""println(\"test)""" should compile
80+
"""println("test)""" should compile
8181
}
8282
val errMsg = Resources.expectedNoErrorButGotParseError("", "")
8383
assert(e.message.get.startsWith(errMsg.substring(0, errMsg.indexOf(':'))))

0 commit comments

Comments
 (0)