mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #4220 from shuujii/change-order-for-assertion-args
Change the order of "expected" and "actual" in test
This commit is contained in:
@@ -12,7 +12,7 @@ assert('regression for #1572') do
|
||||
File.write script.path, 'p "ok"'
|
||||
system "#{cmd('mrbc')} -g -o #{bin.path} #{script.path}"
|
||||
o = `#{cmd('mruby')} -b #{bin.path}`.strip
|
||||
assert_equal o, '"ok"'
|
||||
assert_equal '"ok"', o
|
||||
end
|
||||
|
||||
assert '$0 value' do
|
||||
|
||||
Reference in New Issue
Block a user