ruby-changes:7235
From: kazu <ko1@a...>
Date: Thu, 21 Aug 2008 20:25:27 +0900 (JST)
Subject: [ruby-changes:7235] Ruby:r18754 (trunk): * test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_crypt): add key and salt to error message.
kazu 2008-08-21 20:25:12 +0900 (Thu, 21 Aug 2008) New Revision: 18754 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18754 Log: * test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_crypt): add key and salt to error message. Modified files: trunk/ChangeLog trunk/test/ruby/test_m17n_comb.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 18753) +++ ChangeLog (revision 18754) @@ -1,3 +1,8 @@ +Thu Aug 21 20:23:26 2008 Kazuhiro NISHIYAMA <zn@m...> + + * 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@f...> * file.c (rb_stat_inspect): don't raise if self is not initialized. Index: test/ruby/test_m17n_comb.rb =================================================================== --- test/ruby/test_m17n_comb.rb (revision 18753) +++ test/ruby/test_m17n_comb.rb (revision 18754) @@ -797,7 +797,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/