Skip to content

Commit

Permalink
un-disable 1 test
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Mar 4, 2021
1 parent edf6ecf commit bb26bd1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/js/tasyncjs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,12 @@ proc main() {.async.} =
let x4 = await asyncFact(3).then(asyncIdentity).then(asyncIdentity).then((a:int) => a * 7).then(asyncIdentity)
doAssert x4 == 3 * 2 * 7

when false:
# pending bug #17177
block: # bug #17177
proc asyncIdentityNested(n: int): Future[int] {.async.} = return n
let x5 = await asyncFact(3).then(asyncIdentityNested)
doAssert x5 == 3 * 2

when false: # xxx pending bug #17254
let x6 = await asyncFact(3).then((a:int) {.async.} => a * 11)
doAssert x6 == 3 * 2 * 11

Expand Down

0 comments on commit bb26bd1

Please sign in to comment.