Fixing some tests in internal test suite.

This commit is contained in:
Ruben Ayrapetyan
2014-10-15 20:22:05 +04:00
parent e1e7752a62
commit 8088163d04
2 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -23,6 +23,8 @@ function main()
sum += 1;
}
assert(sum === 100);
}
assert(sum === 100);
main ();
+3 -3
View File
@@ -16,7 +16,7 @@ switch (1) {
case true:
assert(false);
case false:
break;
default:
assert(false);
}
default:
assert(true);
}