aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/customArgs
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-06-02 18:08:33 +0200
committerGuillaume Martres <smarter@ubuntu.com>2016-06-02 19:01:20 +0200
commit35abf29456a7b5b6fa7f114917990cb228e66be9 (patch)
treec3fbf6e16509946fac0b1516da5c47ac3fa7e848 /tests/neg/customArgs
parent845b98186047f38013e2f6aa35508e974eedafb7 (diff)
downloaddotty-35abf29456a7b5b6fa7f114917990cb228e66be9.tar.gz
dotty-35abf29456a7b5b6fa7f114917990cb228e66be9.tar.bz2
dotty-35abf29456a7b5b6fa7f114917990cb228e66be9.zip
Properly report errors when cli flags are malformed
Previously we returned an empty Reporter with no errors so partest reported the test as a success.
Diffstat (limited to 'tests/neg/customArgs')
-rw-r--r--tests/neg/customArgs/cliError.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/neg/customArgs/cliError.scala b/tests/neg/customArgs/cliError.scala
new file mode 100644
index 000000000..b2f0f6cdc
--- /dev/null
+++ b/tests/neg/customArgs/cliError.scala
@@ -0,0 +1,2 @@
+// nopos-error
+object Test