mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge branch 'master' of github.com:mruby/mruby
This commit is contained in:
@@ -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:]
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user