summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2017-04-07 15:22:45 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2017-04-07 15:22:45 +0200
commit04c5e2c92a4d9bdfd930c668c5161d5f7eab92cc (patch)
treea2f24c47df020a8468d44d285e8824c2b258d6f9
parent18157b92a43b2ab12a856fe15eb9d00d1e1bc0c6 (diff)
downloadscala-04c5e2c92a4d9bdfd930c668c5161d5f7eab92cc.tar.gz
scala-04c5e2c92a4d9bdfd930c668c5161d5f7eab92cc.tar.bz2
scala-04c5e2c92a4d9bdfd930c668c5161d5f7eab92cc.zip
t5717: test message, not just absence of compiler crash
-rw-r--r--test/files/run/t5717.check1
-rw-r--r--test/files/run/t5717.scala2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/files/run/t5717.check b/test/files/run/t5717.check
new file mode 100644
index 0000000000..5001b57ffc
--- /dev/null
+++ b/test/files/run/t5717.check
@@ -0,0 +1 @@
+error: error writing a/B: t5717-run.obj/a/B.class: t5717-run.obj/a is not a directory
diff --git a/test/files/run/t5717.scala b/test/files/run/t5717.scala
index a0997f5a49..1434f40a6a 100644
--- a/test/files/run/t5717.scala
+++ b/test/files/run/t5717.scala
@@ -1,7 +1,7 @@
import scala.tools.partest._
import java.io.File
-object Test extends StoreReporterDirectTest {
+object Test extends DirectTest {
def code = ???
def compileCode(code: String) = {