Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created October 13, 2017 14:35
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/80672fba1cba63a1cbf789ff053488b4 to your computer and use it in GitHub Desktop.
Save Whateverable/80672fba1cba63a1cbf789ff053488b4 to your computer and use it in GitHub Desktop.
committable6
2017.09,HEAD use Test; throws-like 「Blob[num32].new: 2e0」, Exception, :message{.contains: 「not yet implemented」 & 「num32」 and not .contains: 「got null」}, 'sane error for num32 Blob'
¦«2017.09»:
1..3
ok 1 - 'Blob[num32].new: 2e0' died
ok 2 - right exception type (Exception)
not ok 3 - .message matches -> ;; $_? is raw { \#`(Block|70680936) ... }
# Failed test '.message matches -> ;; $_? is raw { \#`(Block|70680936) ... }'
# at SETTING::src/core/Any-iterable-methods.pm line 618
# Expected: -> ;; $_? is raw { #`(Block|70680936) ... }
# Got: concatenate requires a concrete string, but got null
# Looks like you failed 1 test of 3
not ok 1 - sane error for num32 Blob
# Failed test 'sane error for num32 Blob'
# at /tmp/5mFebxauny line 1 «exit code = 1»
¦«HEAD(f4f3691)»:
1..3
ok 1 - 'Blob[num32].new: 2e0' died
ok 2 - right exception type (Exception)
ok 3 - .message matches -> ;; $_? is raw { \#`(Block|94284558297776) ... }
ok 1 - sane error for num32 Blob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment