Skip to content

Commit

Permalink
bindings: uncomment ruby unit test for base64
Browse files Browse the repository at this point in the history
  • Loading branch information
rhash committed Jul 2, 2014
1 parent a4e4ba7 commit 34366c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/ruby/test_rhash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_output
r.finish()
assert_equal("5d9ed00a030e638bdb753a6a24fb900e5a63b8e73e6c25b6", r.to_hex(RHash::TTH))
assert_equal("2qoyzwmpaczaj2mabgmoz6ccpy", r.to_base32(RHash::MD5))
# assert_equal("1B2M2Y8AsgTpgAmY7PhCfg==", r.to_base64(RHash::MD5)) <- BASE64 is broken in 1.2.7 :-/
assert_equal("1B2M2Y8AsgTpgAmY7PhCfg==", r.to_base64(RHash::MD5))
assert_equal(["d41d8cd98f00b204e9800998ecf8427e"].pack('H*'), r.to_raw(RHash::MD5))
end

Expand Down

0 comments on commit 34366c3

Please sign in to comment.