Skip to content

Instantly share code, notes, and snippets.

@leto
Created January 9, 2011 21:39
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 leto/772050 to your computer and use it in GitHub Desktop.
Save leto/772050 to your computer and use it in GitHub Desktop.
(datura)(~/git/parrot nol888-master$ )$ prove -v t/library/sha.t
t/library/sha.t ..
1..6
not ok 1 - Basic SHA test
# Have: d6e60fd1eb7d1dba2c6e480742abc632f1f71700f3130ffacff1f11be8adc5dd
# Want: 8b7df143d91c716ecfa5fc1730022f6b421b05cedee8fd52b1fc65a96030ad52
not ok 2 - sha256 Hello
# Have: 5889c451b0f356095915f0f7a9435fce033697b8ec29451a068d6f957651c405
# Want: 185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
not ok 3 - sha256 Goodbye
# Have: 73616e94912d51e6dbb5b94222f902d80e64c65241661261406636536aaef628
# Want: c015ad6ddaf8bb50689d2d7cbf1539dff6dd84473582a08ed1d15d841f4254f4
not ok 4 - sha256 Parrot
# Have: 835594bc3f8bf80cf44a62bf0ca67d757212d07e4da194686b84d8e9002a6434
# Want: 21957106f22269fcf84cfd8bcd7b11c353b8155582ec8eae584dc876457787f8
not ok 5 - sha256 Hello World
# Have: 38c2ee158d171c0bcd04504db3604bc923dc6d120b771a7a90fb7e3cd63fad06
# Want: 7f83b1657ff1fc53b92dc18148a1d65dfc2d4b1fa3d677284addd200126d9069
not ok 6 - sha256 Hello via object interface
# Have: 5889c451b0f356095915f0f7a9435fce033697b8ec29451a068d6f957651c405
# Want: 185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Failed 6/6 subtests
Test Summary Report
-------------------
t/library/sha.t (Wstat: 0 Tests: 6 Failed: 6)
Failed tests: 1-6
Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.02 cusr 0.01 csys = 0.06 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment