]> ocean-lang.org Git - ocean/blobdiff - csrc/oceani-tests.mdc
oceani: improve test coverage
[ocean] / csrc / oceani-tests.mdc
index 3bda937990931927d72c41a28c2e599fcd583aff..dde99bf37b55db6141c8ae241c6b2d97b1d682a3 100644 (file)
@@ -794,7 +794,7 @@ various places that `type_err()` are called.
        oceani: type error in program - not running.
 
 ###### test list
-       oceani_failing_tests += type_err_const type_err_const1
+       oceani_failing_tests += type_err_const type_err_const1 missing_program
 
 ###### test: type_err_const
        const
@@ -825,6 +825,13 @@ various places that `type_err()` are called.
        .tmp.code:3:12: Syntax error in constant: :
        .tmp.code:4:12: Syntax error in constant: :
 
+###### test: missing_program
+       const
+               foo::="bar"
+
+###### output: missing_program
+       oceani: no program found.
+
 ## Test erroneous command line args
 
 To improve coverage, we want to test correct handling of strange command