Skip to content
This repository
Browse code

another test working!

  • Loading branch information...
commit 999eedaa0ca8dd0b424bb8b20b5c37fe7b4a41fc 1 parent 50ce7b6
Maxwell Krohn authored

Showing 1 changed file with 8 additions and 8 deletions. Show diff stats Hide diff stats

  1. +8 8 test/tame.coffee
16 test/tame.coffee
@@ -427,11 +427,11 @@ atest 'expressions - call args (2)', (cb) ->
427 427 #
428 428 #
429 429
430   -#atest 'nesting', (cb) ->
431   -# id = "image data"
432   -# loadImage = (n, cb) ->
433   -# await delay defer()
434   -# cb id
435   -# render = (x) -> x + x
436   -# y = render(await loadImage "test.png", defer())
437   -# cb(y is (id + id), {})
  430 +atest 'nesting', (cb) ->
  431 + id = "image data"
  432 + loadImage = (n, cb) ->
  433 + await delay defer()
  434 + cb id
  435 + render = (x) -> x + x
  436 + y = render(await loadImage "test.png", defer _)
  437 + cb(y is (id + id), {})

0 comments on commit 999eeda

Please sign in to comment.
Something went wrong with that request. Please try again.