From: fennecdjay Date: Thu, 26 Sep 2019 11:33:43 +0000 (+0200) Subject: :white_check_mark: update tests X-Git-Tag: nightly~2199^2 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=75da1c68446a3538ff70d4c5d8781d5a9585270f;p=gwion.git :white_check_mark: update tests --- 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);