summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-01-10 09:19:17 +0900
committerGitHub <[email protected]>2019-01-10 09:19:17 +0900
commit8dcd66cc27db8785ab8bcfb0ea0c2bfd89426761 (patch)
treee711a33a7acc0e8b9237adf0cad6261028494822
parentd88d7aaf4b3c994d5f1e8903fb4b14752981f721 (diff)
parent0740595f857d7c4a7420e7b6a68f307802561a1b (diff)
downloadmruby-8dcd66cc27db8785ab8bcfb0ea0c2bfd89426761.tar.gz
mruby-8dcd66cc27db8785ab8bcfb0ea0c2bfd89426761.zip
Merge pull request #4220 from shuujii/change-order-for-assertion-args
Change the order of "expected" and "actual" in test
-rw-r--r--mrbgems/mruby-bin-mruby/bintest/mruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-mruby/bintest/mruby.rb b/mrbgems/mruby-bin-mruby/bintest/mruby.rb
index f3c7d8761..e8d1510f7 100644
--- a/mrbgems/mruby-bin-mruby/bintest/mruby.rb
+++ b/mrbgems/mruby-bin-mruby/bintest/mruby.rb
@@ -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