Skip to content

Instantly share code, notes, and snippets.

@tony-o
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tony-o/86411383afb0dd6e06e5 to your computer and use it in GitHub Desktop.
Save tony-o/86411383afb0dd6e06e5 to your computer and use it in GitHub Desktop.

##run 1

   [P] This happens async with the first set
      [P] Sleep 1

   [F] Async tests in series
      [F] #1 -  Sleep 1
      [P] Sleep 2

      #1 - Cannot assign to a readonly variable or a value
         in block  at /Users/tonyo/projects/perl6-green/examples/../lib/Green.pm6:86
         in block  at /Users/tonyo/projects/perl6-green/examples/../lib/Green.pm6:81
2
3
   [F] 2 of 3 passing (2027.872ms)

run 2

   [P] This happens async with the first set
      [P] Sleep 1

   [P] Async tests in series
      [P] Sleep 1
      [P] Sleep 2

3
3
   [P] 3 of 3 passing (3017.733ms)

run 3

   [P] time me 4
      [P] delay 2

   [P] time me 1
      [P] delay 2

   [P] time me 3
      [P] delay 2

   [P] time me 2
      [P] delay 2

3
4
   [F] 3 of 4 passing (2008.684ms)

##run 4

   [P] time me 2
      [P] delay 2

   [P] time me 1
      [P] delay 2

   [P] time me 3
      [P] delay 2

   [P] time me 4
      [P] delay 2

===SORRY!===
Cannot invoke this object (REPR: Null)

##run 5

   [P] time me 3
      [P] delay 2

   [P] time me 4
      [P] delay 2

   [P] time me 2
      [P] delay 2

   [P] time me 1
      [P] delay 2

1
4
   [F] 1 of 4 passing (2013.287ms)

##run 6

   [P] time me 4
      [P] delay 2

   [P] time me 1
      [P] delay 2

   [P] time me 2
      [P] delay 2

   [P] time me 3
      [P] delay 2

Unhandled exception in code scheduled on thread 4
===SORRY!===
Cannot invoke this object (REPR: Null)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment