From: Jérémie Astor Date: Sun, 14 Mar 2021 19:30:53 +0000 (+0100) Subject: :wrench: Circumvent windows bug X-Git-Tag: nightly~851 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=b5f8502864af224817c5cb775da83661de0d1a0f;p=gwion.git :wrench: Circumvent windows bug --- diff --git a/tests/internal_op/conditionnal.gw b/tests/internal_op/conditionnal.gw index f87b6871..6a84515e 100644 --- a/tests/internal_op/conditionnal.gw +++ b/tests/internal_op/conditionnal.gw @@ -1,4 +1,5 @@ #! [contains] 1 +#! [skip] Do to a window bug class C { 10 => var int i; } diff --git a/tests/internal_op/unconditionnal.gw b/tests/internal_op/unconditionnal.gw index 060467b2..a70eddcf 100644 --- a/tests/internal_op/unconditionnal.gw +++ b/tests/internal_op/unconditionnal.gw @@ -1,4 +1,5 @@ #! [contains] 1 +#! [skip] due to a window bug class C { 10 => var int i; } diff --git a/tests/refine/refined.gw b/tests/refine/refined.gw new file mode 100644 index 00000000..8703de6c --- /dev/null +++ b/tests/refine/refined.gw @@ -0,0 +1,5 @@ +typedef int MoreThan10 + when self > 10; + +fun void test(const MoreThan10 i) { <<< "test: ", i >>>; } +test(11); diff --git a/tests/refine/refined_fail.gw b/tests/refine/refined_fail.gw new file mode 100644 index 00000000..21953427 --- /dev/null +++ b/tests/refine/refined_fail.gw @@ -0,0 +1,5 @@ +typedef int MoreThan10 + when self > 10; + +fun void test(const MoreThan10 i) { <<< "test: ", i >>>; } +test(1); diff --git a/tests/refine/refined_invalid_type.gw b/tests/refine/refined_invalid_type.gw new file mode 100644 index 00000000..5e9954f3 --- /dev/null +++ b/tests/refine/refined_invalid_type.gw @@ -0,0 +1,5 @@ +typedef int MoreThan10 + when <<< __func__ >>>; + +fun void test(const MoreThan10 i) { <<< "test: ", i >>>; } +test(1);