1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_crypt): add key and salt to error message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2008-08-21 11:25:12 +00:00
parent cefd28a84f
commit 60bc53a161
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Aug 21 20:23:26 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_crypt): add
key and salt to error message.
Thu Aug 21 19:20:25 2008 Tanaka Akira <akr@fsij.org>
* file.c (rb_stat_inspect): don't raise if self is not initialized.

View file

@ -797,7 +797,7 @@ class TestM17NComb < Test::Unit::TestCase
next
end
t = str.crypt(salt)
assert_equal(a(str).crypt(a(salt)), t)
assert_equal(a(str).crypt(a(salt)), t, "#{encdump(str)}.crypt(#{encdump(salt)})")
assert_encoding('ASCII-8BIT', t.encoding)
}
end