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:
Yukihiro "Matz" Matsumoto
2019-01-10 09:19:17 +09:00
committed by GitHub
+1 -1
View File
@@ -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