diff options
author | tofu <38903670+otofu-tofu@users.noreply.github.com> | 2019-04-04 12:58:54 +0000 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-04-04 14:58:54 +0200 |
commit | a990afcedcc4c7bd25008c9fa4fd3906b3716795 (patch) | |
tree | 0a1c11568e06e7bbb230e4ccbe791212dba868aa /nimpretty/tests/expected | |
parent | 8546393ddbabde06e06807036772813568404673 (diff) | |
download | Nim-a990afcedcc4c7bd25008c9fa4fd3906b3716795.tar.gz |
fixes #10200 (#10950)
* fixes #10200 * add rule for other comparison operators * add rule for '!=' * add test * fixed to pass the test
Diffstat (limited to 'nimpretty/tests/expected')
-rw-r--r-- | nimpretty/tests/expected/exhaustive.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nimpretty/tests/expected/exhaustive.nim b/nimpretty/tests/expected/exhaustive.nim index 8ea7ca4dd..cd3d136e7 100644 --- a/nimpretty/tests/expected/exhaustive.nim +++ b/nimpretty/tests/expected/exhaustive.nim @@ -369,3 +369,9 @@ foobar # bug #9673 discard `*`(1, 2) + +proc fun4() = + var a = "asdf" + var i = 0 + while i < a.len and i < a.len: + return |