Explorer: make use of != in Carbon lit (#2586)

Swap `not (a == b)` for `a != b` in test now that we have it.
This commit is contained in:
Adrien Leravat
2023-02-07 10:10:45 -08:00
committed by GitHub
parent 5a0613283b
commit 65078ea943
8 changed files with 46 additions and 47 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ package ExplorerTest api;
fn Main() -> i32 {
var x: auto = 2;
while (not (x == 0)) {
while (x != 0) {
x = x - 1;
}
return x;