Skip to content

Instantly share code, notes, and snippets.

@retupmoca
Created March 31, 2014 15:38
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 retupmoca/9895132 to your computer and use it in GitHub Desktop.
Save retupmoca/9895132 to your computer and use it in GitHub Desktop.
This is perl6 version 2014.03.01-50-gb777559 built on MoarVM version 2014.03-58-g7acb6c1
1..47
# [0s] starting tests
# [0s] Testing on port 1024
ok 1 - [2s] echo server and client
ok 2 - finished in time #1
ok 3 - [2s] discard server and client
ok 4 - finished in time #2
ok 5 - [45s] received first 7 characters
ok 6 - finished in time #3
ok 7 - [0s] received next 3 characters
ok 8 - finished in time #4
not ok 9 - [0s] remaining 26 were buffered
# got: '(timeout)'
# expected: 'abcdefghijklmnopqrstuvwxyz'
ok 10 - finished in time #5
not ok 11 - [0s] received 뻯
# got: ''
# expected: '뻯'
ok 12 - finished in time #6
not ok 13 - [0s] ... which is 1 character
# got: ''
# expected: '1'
ok 14 - finished in time #7
not ok 15 - [0s] received another character
# got: ''
# expected: '1'
ok 16 - finished in time #8
not ok 17 - [0s] combined the bytes form 몾
# got: ''
# expected: '몾'
ok 18 - finished in time #9
ok 19 - [44s] get() with default separator
ok 20 - finished in time #10
not ok 21 - [0s] default separator
# got: '(timeout)'
# expected: 'Did gyre and gimble in the wabe;'
ok 22 - finished in time #11
not ok 23 - [0s] \r\n separator
# got: ''
# expected: 'All mimsy were the borogoves,'
ok 24 - finished in time #12
not ok 25 - [0s] . as a separator
# got: ''
# expected: 'And the mome raths outgrabe'
ok 26 - finished in time #13
not ok 27 - [0s] ! separator not at end of string
# got: ''
# expected: 'O frabjous day'
ok 28 - finished in time #14
not ok 29 - [0s] Multiple separators not at end of string
# got: ''
# expected: ' Callooh'
ok 30 - finished in time #15
not ok 31 - [0s] ! separator at end of string
# got: ''
# expected: ' Callay'
ok 32 - [6s] received first character
ok 33 - finished in time #16
ok 34 - [0s] received last character
ok 35 - finished in time #17
ok 36 - [0s] total amount
ok 37 - finished in time #18
ok 38 - [3s] successful read binary data
ok 39 - finished in time #19
ok 40 - [3s] successful received binary data
ok 41 - finished in time #20
ok 42 - [2s] received first character
ok 43 - finished in time #21
ok 44 - [0s] received last character
ok 45 - finished in time #22
ok 46 - [0s] total amount
ok 47 - finished in time #23
# Looks like you failed 11 tests of 47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment