Skip to content

wip

wip #33

GitHub Actions / nitunit-lib Results failed Jun 25, 2024 in 0s

1 errors, 1 fail, 2 249 pass in 17s

2 251 tests   - 1   2 249 ✅ +35   17s ⏱️ ±0s
  212 suites ±0       0 💤 ± 0 
    1 files   ±0       1 ❌  - 35   1 🔥  - 1 

Results for commit a6b011a. ± Comparison against earlier commit 97ecb7e.

Annotations

Check warning on line 0 in nitunit.java::collections.<module>

See this annotation in the file changed.

@github-actions github-actions / nitunit-lib Results

<module> (nitunit.java::collections.<module>) failed

nitunit.xml [took 0s]
Raw output
Compilation error in nitunit.out/collections-1.nit
In file included from java__collections._ffi.h:11,
                 from java__collections._ffi.c:7:
lib/jvm/jvm.nit:37:11: fatal error: jni.h: No such file or directory
compilation terminated.
make[1]: *** [collections_45d1.mk:218: java__collections._ffi.extern.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from java__collections._ffi.h:11,
                 from java__collections._nitni.h:151,
                 from java__collections._nitni.c:4:
lib/jvm/jvm.nit:37:11: fatal error: jni.h: No such file or directory
compilation terminated.
make[1]: *** [collections_45d1.mk:221: java__collections._nitni.extern.o] Error 1
Compilation Error: `make` failed with error code: 512. The command was `make -B -C nit_compile -f collections_45d1.mk -j 4 `.
var coll = new JavaArray(2)

assert coll[0].is_java_null
coll[0] = "zero".to_java_string
coll[1] = "one".to_java_string

assert coll.length == 2
assert coll.first.to_s == "zero"
assert coll[1].to_s == "one"
assert [for e in coll do e.to_s] == ["zero", "one"]

Check failure on line 0 in nitunit.popcorn.TestExampleTemplatePugFile

See this annotation in the file changed.

@github-actions github-actions / nitunit-lib Results

test_example_template_pug_file (nitunit.popcorn.TestExampleTemplatePugFile) with error

nitunit.xml [took 0s]
Raw output
Difference with expected output: diff -u lib/popcorn/examples/templates/tests/test_example_template_pug_file.res nitunit.out/gen_test_example_templates_test_example_template_pug_file.out1
Diff
--- expected:lib/popcorn/examples/templates/tests/test_example_template_pug_file.res
+++ got:nitunit.out/gen_test_example_templates_test_example_template_pug_file.out1
@@ -1,3 +1,3 @@
 
 [Client] curl -s localhost:*****/
-<h1>Hello Morriar!</h1><p>Welcome on My super website.</p>
+