diff options
Diffstat (limited to 'tests/js/tasync.nim')
-rw-r--r-- | tests/js/tasync.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/js/tasync.nim b/tests/js/tasync.nim index 34ef97b8b..318237651 100644 --- a/tests/js/tasync.nim +++ b/tests/js/tasync.nim @@ -1,5 +1,4 @@ discard """ - disabled: true output: ''' x e @@ -18,6 +17,8 @@ proc e: int {.discardable.} = proc x(e: int): Future[void] {.async.} = var s = await y(e) + if e > 2: + return echo s e() |