summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-mruby
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-01-09 20:00:17 +0900
committerKOBAYASHI Shuji <[email protected]>2019-01-09 20:00:17 +0900
commit0740595f857d7c4a7420e7b6a68f307802561a1b (patch)
treeb9be5265a8cd5dcda414acffbdc9d3fbe5c1a996 /mrbgems/mruby-bin-mruby
parent81862fd689372dc31a0f0e71995e4cd6f771aea6 (diff)
downloadmruby-0740595f857d7c4a7420e7b6a68f307802561a1b.tar.gz
mruby-0740595f857d7c4a7420e7b6a68f307802561a1b.zip
Change the order of "expected" and "actual" in test
Diffstat (limited to 'mrbgems/mruby-bin-mruby')
-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