X-Git-Url: http://nitlanguage.org diff --git a/tests/sav/nitunit_args1.res b/tests/sav/nitunit_args1.res index eb930af..7cec735 100644 --- a/tests/sav/nitunit_args1.res +++ b/tests/sav/nitunit_args1.res @@ -1,10 +1,39 @@ -test_nitunit.nit:18,1--19,0: ERROR: test_nitunit.test_nitunit::X. (in .nitunit/test_nitunit2.nit): Runtime error: Assert failed (.nitunit/test_nitunit2.nit:5) +==== Docunits of module test_nitunit::test_nitunit | tests: 5 +[OK] test_nitunit::test_nitunit +[KO] test_nitunit$X + test_nitunit.nit:23,7--24,0: Runtime error in nitunit.out/test_nitunit-2.nit with argument 0 + Output + Runtime error: Assert failed (nitunit.out/test_nitunit-2.nit:5) -test_nitunit.nit:20,2--21,0: FAILURE: test_nitunit.test_nitunit::X.test_nitunit::X::toto (in .nitunit/test_nitunit3.nit): .nitunit/test_nitunit3.nit:5,9--28: Error: Method or variable 'undefined_identifier' unknown in Sys. +[KO] test_nitunit$X$foo + test_nitunit.nit:27,8--28,0: Compilation error in nitunit.out/test_nitunit-3.nit + Output + nitunit.out/test_nitunit-3.nit:5,8--27: Error: method or variable `undefined_identifier` unknown in `Sys`. - assert true - assert false - assert undefined_identifier - \ No newline at end of file +[KO] test_nitunit$X$foo1 + test_nitunit.nit:32,15: Syntax Error: unexpected operator '!'. +[OK] test_nitunit$X$foo2 + +==== Test-suite of module test_test_nitunit::test_test_nitunit | tests: 3 +[OK] test_test_nitunit$TestX$test_foo +[KO] test_test_nitunit$TestX$test_foo1 + test_test_nitunit.nit:35,2--39,4: Runtime Error in file nitunit.out/gen_test_test_nitunit.nit + Output + Runtime error: Assert failed (test_test_nitunit.nit:38) + +[OK] test_test_nitunit$TestX$test_foo2 + +Docunits: Entities: 34; Documented ones: 7; With nitunits: 5; Failures: 3 +Test suites: Classes: 1; Test Cases: 3; Failures: 1 +[FAILURE] 4/8 tests failed. +`nitunit.out` is not removed for investigation. +assert true +Runtime error: Assert failed (nitunit.out/test_nitunit-2.nit:5) +assert false +nitunit.out/test_nitunit-3.nit:5,8--27: Error: method or variable `undefined_identifier` unknown in `Sys`. +assert undefined_identifier +assert !@#$%^&*() +var x = new X +assert x.foo2 +Runtime error: Assert failed (test_test_nitunit.nit:38) + \ No newline at end of file