From 60bc53a1615222d2ad0b111ca84975093cf6efc1 Mon Sep 17 00:00:00 2001 From: kazu Date: Thu, 21 Aug 2008 11:25:12 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ test/ruby/test_m17n_comb.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ea5aa674a4..3c82b17ba9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Aug 21 20:23:26 2008 Kazuhiro NISHIYAMA + + * 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 * file.c (rb_stat_inspect): don't raise if self is not initialized. diff --git a/test/ruby/test_m17n_comb.rb b/test/ruby/test_m17n_comb.rb index a9ca281367..37b1a687a2 100644 --- a/test/ruby/test_m17n_comb.rb +++ b/test/ruby/test_m17n_comb.rb @@ -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