From 75da1c68446a3538ff70d4c5d8781d5a9585270f Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 26 Sep 2019 13:33:43 +0200 Subject: [PATCH] :white_check_mark: update tests --- tests/error/array_invalid.gw | 3 --- tests/error/invalid_return.gw | 2 -- tests/error/loop_not_int.gw | 4 ---- tests/error/no_compat_sub.gw | 4 ---- tests/error/no_compat_sub2.gw | 4 ---- tests/error/polar_invalid_mod.gw | 2 -- tests/error/polar_invalid_ph.gw | 2 -- tests/error/vector_invalid.gw | 2 -- 8 files changed, 23 deletions(-) delete mode 100644 tests/error/array_invalid.gw delete mode 100644 tests/error/invalid_return.gw delete mode 100644 tests/error/loop_not_int.gw delete mode 100644 tests/error/no_compat_sub.gw delete mode 100644 tests/error/no_compat_sub2.gw delete mode 100644 tests/error/polar_invalid_mod.gw delete mode 100644 tests/error/polar_invalid_ph.gw delete mode 100644 tests/error/vector_invalid.gw diff --git a/tests/error/array_invalid.gw b/tests/error/array_invalid.gw deleted file mode 100644 index b4e738ee..00000000 --- a/tests/error/array_invalid.gw +++ /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 index 20d5989d..00000000 --- a/tests/error/invalid_return.gw +++ /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 index 0ed3ca5d..00000000 --- a/tests/error/loop_not_int.gw +++ /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 index 1ce8ae8e..00000000 --- a/tests/error/no_compat_sub.gw +++ /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 index 3473fab1..00000000 --- a/tests/error/no_compat_sub2.gw +++ /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 index 3ecfc3a1..00000000 --- a/tests/error/polar_invalid_mod.gw +++ /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 index 44470ba0..00000000 --- a/tests/error/polar_invalid_ph.gw +++ /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 index f14ca9ce..00000000 --- a/tests/error/vector_invalid.gw +++ /dev/null @@ -1,2 +0,0 @@ -#! [contains] in vector value -@(0,0,0,null); -- 2.43.0