Commit 7d90603a7b2cb9ff261b4af3d215e26f576d4983

Thomas de Grivel 2023-03-07T15:25:22

fix tests

diff --git a/test/ic3/fn.out.expected b/test/ic3/fn.out.expected
index 7a9581b..d068afe 100644
--- a/test/ic3/fn.out.expected
+++ b/test/ic3/fn.out.expected
@@ -4,9 +4,23 @@ quote fn (x, _y) { x }
 
 quote fn ([x | _y]) { x }
 
+quote fn {
+  ([]) { :error }
+  ([x | _y]) { x }
+  (_) { :error }
+}
+
+
 fn (x) { x }
 
 fn (x, _y) { x }
 
 fn ([x | _y]) { x }
 
+fn {
+  ([]) { :error }
+  ([x | _y]) { x }
+  (_) { :error }
+}
+
+
diff --git a/test/ic3_test b/test/ic3_test
index ce6f9c0..c153cc5 100755
--- a/test/ic3_test
+++ b/test/ic3_test
@@ -1,9 +1,9 @@
 #!/bin/sh
 cd "$(dirname $0)/ic3" || exit
 
-TEST_COLOR_KO=""
-TEST_COLOR_OK=""
-TEST_COLOR_RESET=""
+TEST_COLOR_KO=""
+TEST_COLOR_OK=""
+TEST_COLOR_RESET=""
 TEST_COUNT=0
 TEST_KO=0
 TEST_OK=0