Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created July 23, 2018 19: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 Whateverable/b1e80fa3cfceb99182edb332e9460392 to your computer and use it in GitHub Desktop.
Save Whateverable/b1e80fa3cfceb99182edb332e9460392 to your computer and use it in GitHub Desktop.
committable6
HEAD https://gist.github.com/AlexDaniel/a0248b128443767b7e3115b86c9fb79f
¦«HEAD(8549589)»:
ok 1 - mapping-is passes when mapping matches path
not ok 1 - mapping-is passes when mapping matches path
# Got test like:
# Expected test like: ok 1
not ok 2 - mapping-is fails when mapping does not match path # TODO Test.pm blows up the exit code unless this is a TODO
# Failed test 'mapping-is fails when mapping does not match path'
# at /home/bisectable/git/whateverable/sandbox/p6-Path-Router/lib/Test/Path/Router.pm6 (Test::Path::Router) line 111
# ... paths do not match
# got: Nil
# expected: 'blog'
not ok 2 - mapping-is fails when mapping does not match path
# Got test like:
# Expected test like: not ok 2
ok 3 - mapping-not-ok passes when mapping not found
not ok 3 - mapping-not-ok passes when mapping not found
# Got test like:
# Expected test like: ok 3
not ok 4 - mapping-not-ok fails when mapping found # TODO Test.pm blows up the exit code unless this is a TODO
# Failed test 'mapping-not-ok fails when mapping found'
# at /home/bisectable/git/whateverable/sandbox/p6-Path-Router/lib/Test/Path/Router.pm6 (Test::Path::Router) line 93
not ok 4 - mapping-not-ok fails when mapping found
# Got test like:
# Expected test like: not ok 4
ok 5 - mapping-ok passes when mapping found
not ok 5 - mapping-ok passes when mapping found
# Got test like:
# Expected test like: ok 5
not ok 6 - mapping-ok fails when mapping not found # TODO Test.pm blows up the exit code unless this is a TODO
# Failed test 'mapping-ok fails when mapping not found'
# at /home/bisectable/git/whateverable/sandbox/p6-Path-Router/lib/Test/Path/Router.pm6 (Test::Path::Router) line 84
not ok 6 - mapping-ok fails when mapping not found
# Got test like:
# Expected test like: not ok 6
ok 7 - path-is passes when path matches mapping
not ok 7 - path-is passes when path matches mapping
# Got test like:
# Expected test like: ok 7
not ok 8 - path-is fails when path does not match mapping # TODO Test.pm blows up the exit code unless this is a TODO
# Failed test 'path-is fails when path does not match mapping'
# at /home/bisectable/git/whateverable/sandbox/p6-Path-Router/lib/Test/Path/Router.pm6 (Test::Path::Router) line 76
# expected: ${:controller("Wiki")}
# got: ${:controller("Blog")}
not ok 8 - path-is fails when path does not match mapping
# Got test like:
# Expected test like: not ok 8
ok 9 - path-not-ok passes when path not found
not ok 9 - path-not-ok passes when path not found
# Got test like:
# Expected test like: ok 9
not ok 10 - path-not-ok fails when path found # TODO Test.pm blows up the exit code unless this is a TODO
# Failed test 'path-not-ok fails when path found'
# at /home/bisectable/git/whateverable/sandbox/p6-Path-Router/lib/Test/Path/Router.pm6 (Test::Path::Router) line 65
not ok 10 - path-not-ok fails when path found
# Got test like:
# Expected test like: not ok 10
ok 11 - path-ok passes when path found
not ok 11 - path-ok passes when path found
# Got test like:
# Expected test like: ok 11
not ok 12 - path-ok fails when path not found # TODO Test.pm blows up the exit code unless this is a TODO
# Failed test 'path-ok fails when path not found'
# at /home/bisectable/git/whateverable/sandbox/p6-Path-Router/lib/Test/Path/Router.pm6 (Test::Path::Router) line 56
not ok 12 - path-ok fails when path not found
# Got test like:
# Expected test like: not ok 12
ok 1 - matched path (blog) and requested paths (blog) match
ok 2 - comparing mapping to expectation
ok 3 - matched path (feed) and requested paths (feed) match
ok 4 - comparing mapping to expectation
1..4
ok 13 - routes-ok passes when all paths and mappings match
not ok 13 - routes-ok passes when all paths and mappings match
# Got test like:
# Expected test like: ok 13
ok 1 - matched path (blog) and requested paths (blog) match
ok 2 - comparing mapping to expectation
not ok 3 - checking generated path # TODO Test.pm blows up the exit code unless this is a TODO
# Failed test 'checking generated path'
# at /home/bisectable/git/whateverable/sandbox/p6-Path-Router/lib/Test/Path/Router.pm6 (Test::Path::Router) line 30
# ... paths do not match
# got: ''
# expected: 'feed'
1..3
not ok 14 - routes-ok fails when all paths and mappings do not match # TODO Test.pm blows up the exit code unless this is a TODO
# Failed test 'routes-ok fails when all paths and mappings do not match'
# at /home/bisectable/git/whateverable/sandbox/p6-Path-Router/lib/Test/Path/Router.pm6 (Test::Path::Router) line 19
not ok 14 - routes-ok fails when all paths and mappings do not match
# Got test like:
# Expected test like: not ok 14
1..14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment