From ab2ce33859facbc9bc9fa5c63dd33243054e4946 Mon Sep 17 00:00:00 2001 From: Jun Hiroe Date: Mon, 12 May 2014 14:47:35 +0900 Subject: Fix Hash test --- test/t/hash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t/hash.rb b/test/t/hash.rb index 0e035a3a7..0d8d137c4 100644 --- a/test/t/hash.rb +++ b/test/t/hash.rb @@ -40,7 +40,7 @@ assert('Hash#dup') do a = { 'a' => 1 } b = a.dup a['a'] = 2 - assert_equal(b, {'a' => 1}) + assert_equal({'a' => 1}, b) end assert('Hash#default', '15.2.13.4.5') do -- cgit v1.2.3 From 6a15f42ec549ece40dc1f625e74b6e96a07cdb7c Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Mon, 12 May 2014 21:37:54 +0900 Subject: Rebuild no mrb_open mrbgems test when config file is modified. --- tasks/mrbgems_test.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/mrbgems_test.rake b/tasks/mrbgems_test.rake index d5e115f86..d06b7a24c 100644 --- a/tasks/mrbgems_test.rake +++ b/tasks/mrbgems_test.rake @@ -117,7 +117,7 @@ MRuby.each_target do no_mrb_open_test_lib = no_mrb_open_test.ext(exts.object) file no_mrb_open_test_lib => "#{no_mrb_open_test}.c" - file "#{no_mrb_open_test}.c" => no_mrb_open_test_rbfiles do |t| + file "#{no_mrb_open_test}.c" => no_mrb_open_test_rbfiles + [MRUBY_CONFIG] do |t| open(t.name, 'w') do |f| f.puts %Q[/*] f.puts %Q[ * This file contains a test code for following gems:] -- cgit v1.2.3