X-Git-Url: http://nitlanguage.org diff --git a/tests/sav/nitunit_args1.res b/tests/sav/nitunit_args1.res index dcddc6a..7cec735 100644 --- a/tests/sav/nitunit_args1.res +++ b/tests/sav/nitunit_args1.res @@ -1,17 +1,18 @@ -==== Docunits of module test_nitunit::test_nitunit | tests: 4 +==== Docunits of module test_nitunit::test_nitunit | tests: 5 [OK] test_nitunit::test_nitunit [KO] test_nitunit$X - test_nitunit.nit:21,7--22,0: Runtime error in nitunit.out/test_nitunit-2.nit + 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) [KO] test_nitunit$X$foo - test_nitunit.nit:24,8--25,0: Compilation error in nitunit.out/test_nitunit-3.nit + 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`. [KO] test_nitunit$X$foo1 - test_nitunit.nit:28,15: Syntax Error: unexpected operator '!'. + 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 @@ -22,15 +23,17 @@ [OK] test_test_nitunit$TestX$test_foo2 -Docunits: Entities: 34; Documented ones: 6; With nitunits: 4; Failures: 3 +Docunits: Entities: 34; Documented ones: 7; With nitunits: 5; Failures: 3 Test suites: Classes: 1; Test Cases: 3; Failures: 1 -[FAILURE] 4/7 tests failed. +[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) +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 !@#$%^&*() -Runtime error: Assert failed (test_test_nitunit.nit:38) +var x = new X +assert x.foo2 +Runtime error: Assert failed (test_test_nitunit.nit:38) \ No newline at end of file