From: Jean Privat Date: Wed, 22 Jul 2015 14:19:11 +0000 (-0400) Subject: tests: test return value of nitpick X-Git-Tag: v0.7.7~15^2 X-Git-Url: http://nitlanguage.org tests: test return value of nitpick Signed-off-by: Jean Privat --- diff --git a/tests/nitpick.args b/tests/nitpick.args index 3ae7a2a..396ac26 100644 --- a/tests/nitpick.args +++ b/tests/nitpick.args @@ -1 +1,3 @@ --no-color -W test_advice_repeated_types.nit +--no-color base_simple3.nit; echo $? +--no-color error_mod_unk.nit; echo $? diff --git a/tests/sav/nitpick_args2.res b/tests/sav/nitpick_args2.res new file mode 100644 index 0000000..573541a --- /dev/null +++ b/tests/sav/nitpick_args2.res @@ -0,0 +1 @@ +0 diff --git a/tests/sav/nitpick_args3.res b/tests/sav/nitpick_args3.res new file mode 100644 index 0000000..ecc2f7d --- /dev/null +++ b/tests/sav/nitpick_args3.res @@ -0,0 +1,2 @@ +error_mod_unk.nit:17,8--11: Error: cannot find module `dfgd` from `error_mod_unk`. Tried: ../lib, ../contrib, .. +1