diff options
Diffstat (limited to 'tests/reject/tdisallowif.nim')
-rw-r--r-- | tests/reject/tdisallowif.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reject/tdisallowif.nim b/tests/reject/tdisallowif.nim index f7bb7098b..10f54288a 100644 --- a/tests/reject/tdisallowif.nim +++ b/tests/reject/tdisallowif.nim @@ -21,7 +21,7 @@ s[0] = substr(s[0], 0, 2) echo s[0] -if true: +if s[0] != "hi": echo "do it" echo "more branches" else: |