summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-16 08:38:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-16 08:38:16 +0000
commit62cdd6e64a946ab40a83a5017330cca2fde70099 (patch)
tree86d778252f412d6ceb441c6feeab3180afaba00d /test
parenta87f0aa071992e9cfba6b83b6d596a9f414f767a (diff)
fix argument order
* test/ruby/test_parse.rb (test_void_expr_stmts_value): expected value comes first. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_parse.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb
index f0f872013d..563e2cebc4 100644
--- a/test/ruby/test_parse.rb
+++ b/test/ruby/test_parse.rb
@@ -742,7 +742,7 @@ x = __ENCODING__
x = def o.foo; end
END
end
- assert_equal($stderr.string.lines.to_a.size, 14)
+ assert_equal(14, $stderr.string.lines.to_a.size)
$stderr = stderr
end