summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ecomp-c/test1.e2
-rw-r--r--ecomp-c/tests/type_check_comparision.e4
2 files changed, 3 insertions, 3 deletions
diff --git a/ecomp-c/test1.e b/ecomp-c/test1.e
index 2836091..88a6d26 100644
--- a/ecomp-c/test1.e
+++ b/ecomp-c/test1.e
@@ -47,7 +47,7 @@ begin
end;
i := 0;
- while ( i < 10 ) and ( not flag ) do
+ while ( i < 10 ) and not flag do
i := i + 1;
end;
end
diff --git a/ecomp-c/tests/type_check_comparision.e b/ecomp-c/tests/type_check_comparision.e
index ceaa9ef..f98a1a9 100644
--- a/ecomp-c/tests/type_check_comparision.e
+++ b/ecomp-c/tests/type_check_comparision.e
@@ -1,5 +1,5 @@
/*
- * make sure assignment from illegal types throws an error
+ * make sure illegal type comparisions throw an error
*/
module bool_conditions;
@@ -11,6 +11,6 @@ var
begin
i := 1;
b := false;
- if i = 2 and false do
+ if i > b do
end;
end