diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-09-09 14:20:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-09 14:20:10 +0200 |
commit | 3f00a738dbc8319b4dd2b86bf5529c096f2dd243 (patch) | |
tree | 1e730a512147d2d9de9fba8772921327c5d8ac62 /tests/casestmt/tcasestmt.nim | |
parent | 217675cf84dc47bb68f03b341aff14315804efec (diff) | |
download | Nim-3f00a738dbc8319b4dd2b86bf5529c096f2dd243.tar.gz |
fixes #15280 [backport:1.2] (#15281)
* fixes #15280 [backport:1.2] * make tests green again * adapt tests
Diffstat (limited to 'tests/casestmt/tcasestmt.nim')
-rw-r--r-- | tests/casestmt/tcasestmt.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/casestmt/tcasestmt.nim b/tests/casestmt/tcasestmt.nim index 53cccdb64..2151892aa 100644 --- a/tests/casestmt/tcasestmt.nim +++ b/tests/casestmt/tcasestmt.nim @@ -258,7 +258,7 @@ func foo(input: string): int = try: parseInt(input) except: - return + 0 func foo2(b, input: string): int = case b: |