]> Nishi Git Mirror - gwion.git/commitdiff
:white_check_mark: update tests 149/head
authorfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 26 Sep 2019 11:33:43 +0000 (13:33 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 26 Sep 2019 11:33:43 +0000 (13:33 +0200)
tests/error/array_invalid.gw [deleted file]
tests/error/invalid_return.gw [deleted file]
tests/error/loop_not_int.gw [deleted file]
tests/error/no_compat_sub.gw [deleted file]
tests/error/no_compat_sub2.gw [deleted file]
tests/error/polar_invalid_mod.gw [deleted file]
tests/error/polar_invalid_ph.gw [deleted file]
tests/error/vector_invalid.gw [deleted file]

diff --git a/tests/error/array_invalid.gw b/tests/error/array_invalid.gw
deleted file mode 100644 (file)
index b4e738e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#! [contains] must be of type 'int'
- int i[4];
-i[null];
diff --git a/tests/error/invalid_return.gw b/tests/error/invalid_return.gw
deleted file mode 100644 (file)
index 20d5989..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#! [contains] invalid return type
-fun void test() { return 1; }
diff --git a/tests/error/loop_not_int.gw b/tests/error/loop_not_int.gw
deleted file mode 100644 (file)
index 0ed3ca5..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#! [contains] conditional must be of type
-complex c;
-repeat(c)
-       <<< "error" >>>;
diff --git a/tests/error/no_compat_sub.gw b/tests/error/no_compat_sub.gw
deleted file mode 100644 (file)
index 1ce8ae8..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#! [contains] must be of type 'int'
-int i[4];
-Object o;
-i[o];
diff --git a/tests/error/no_compat_sub2.gw b/tests/error/no_compat_sub2.gw
deleted file mode 100644 (file)
index 3473fab..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#! [contains] incompatible array subscript type
- Object o;
-int i[o];
-<<< i >>>;
diff --git a/tests/error/polar_invalid_mod.gw b/tests/error/polar_invalid_mod.gw
deleted file mode 100644 (file)
index 3ecfc3a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#! [contains] polar value #1
- %(null, 0);
diff --git a/tests/error/polar_invalid_ph.gw b/tests/error/polar_invalid_ph.gw
deleted file mode 100644 (file)
index 44470ba..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#! [contains] polar value #2
- %(0, null);
diff --git a/tests/error/vector_invalid.gw b/tests/error/vector_invalid.gw
deleted file mode 100644 (file)
index f14ca9c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#! [contains] in vector value
-@(0,0,0,null);