summaryrefslogtreecommitdiff
path: root/test/digest
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-22 00:43:08 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-22 00:43:08 +0000
commitd553c518d525851d8d4a4f8db63e3027e4a5d72d (patch)
tree6b3ea52d1f12e71381c5cca1828d69fcbf55f0d8 /test/digest
parent215a7da2a6584295ff9bfaa5e0c4de051d831d2c (diff)
* test/digest/test_digest.rb: Reverse order of assert_equal
Reported by @splattael git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/digest')
-rwxr-xr-xtest/digest/test_digest.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/digest/test_digest.rb b/test/digest/test_digest.rb
index 3e7f850..86f9147 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