diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-08-13 11:41:33 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-08-13 11:41:33 +0200 |
commit | dae5450947e93e2e5222ae2710874186bf27bf39 (patch) | |
tree | ddb9da438bb516d81491af41ef646abf34d67406 /tests/async/tasync_misc.nim | |
parent | 32afc1a562579d38e82ebb385186767dfb1bc3c8 (diff) | |
download | Nim-dae5450947e93e2e5222ae2710874186bf27bf39.tar.gz |
WIP: disallow 'nil' for strings and seqs
Diffstat (limited to 'tests/async/tasync_misc.nim')
-rw-r--r-- | tests/async/tasync_misc.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/async/tasync_misc.nim b/tests/async/tasync_misc.nim index 695dcd98a..dbc2ea434 100644 --- a/tests/async/tasync_misc.nim +++ b/tests/async/tasync_misc.nim @@ -37,8 +37,7 @@ block: #8399 case line[0] of '+', '-': @[] of '$': (let x = await bar(); @[""]) - else: - nil + else: @[] doAssert(res == @[""]) |