Skip to content

Instantly share code, notes, and snippets.

@KamilaBorowska
Created December 15, 2012 17:14
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 KamilaBorowska/4297293 to your computer and use it in GitHub Desktop.
Save KamilaBorowska/4297293 to your computer and use it in GitHub Desktop.
error checking
glitchmr@strawberry ~/g/p/t1> ./base-test
1..8
ok 1
ok 2
ok 3
ok 4
ok 5
not ok 6
# Failed test at ./base-test line 38.
# got: 'Many solutions:
# A: knight; B: knight
# A: knave; B: knave
# '
# expected: 'A mentions B but B doesn't say anything.
# '
not ok 7
# Failed test at ./base-test line 39.
# got: 'Many solutions:
# A: knight; C: knight
# A: knave; C: knight
# '
# expected: 'A mentions C but C doesn't say anything.
# '
ok 8
# Looks like you failed 2 tests of 8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment