diff options
Diffstat (limited to 'test/digest/test_digest.rb')
-rwxr-xr-x | test/digest/test_digest.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/digest/test_digest.rb b/test/digest/test_digest.rb index 3e7f850af9..86f9147428 100755 --- a/test/digest/test_digest.rb +++ b/test/digest/test_digest.rb @@ -106,19 +106,19 @@ module TestDigest def test_bubblebabble expected = "xirek-hasol-fumik-lanax" - assert_equal Digest.bubblebabble('message'), expected + assert_equal expected, Digest.bubblebabble('message') end def test_bubblebabble_class expected = "xopoh-fedac-fenyh-nehon-mopel-nivor-lumiz-rypon-gyfot-cosyz-rimez-lolyv-pekyz-rosud-ricob-surac-toxox" - assert_equal Digest::SHA256.bubblebabble('message'), expected + assert_equal expected, Digest::SHA256.bubblebabble('message') end def test_bubblebabble_instance expected = "xumor-boceg-dakuz-sulic-gukoz-rutas-mekek-zovud-gunap-vabov-genin-rygyg-sanun-hykac-ruvah-dovah-huxex" hash = Digest::SHA256.new - assert_equal hash.bubblebabble, expected + assert_equal expected, hash.bubblebabble end class TestMD5 < Test::Unit::TestCase |