diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-06-02 18:08:33 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-06-02 19:01:20 +0200 |
commit | 35abf29456a7b5b6fa7f114917990cb228e66be9 (patch) | |
tree | c3fbf6e16509946fac0b1516da5c47ac3fa7e848 /tests/neg/customArgs | |
parent | 845b98186047f38013e2f6aa35508e974eedafb7 (diff) | |
download | dotty-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.scala | 2 |
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 |