]> ocean-lang.org Git - ocean/blobdiff - csrc/oceani-tests.mdc
oceani: remove the need for 'then' in function declarations.
[ocean] / csrc / oceani-tests.mdc
index d9be788450c88baf56d37a6e613b18fb31e88dff..2314ce3ea4d9ec070c7cf23867f04f3072fd71b3 100644 (file)
@@ -620,7 +620,7 @@ Test functions.  They don't return anything, so we need to get them to print
 
 ###### test: functions
 
-       func test1 then
+       func test1
                t: Boolean
        do
                if t:
@@ -971,7 +971,7 @@ Test for type errors with functions
        do
                pass
 
-       func test1 then
+       func test1
                b:Boolean
        do
                pass