should have removed `codegen error:` prefix from the test.

parent cb8dabeb
......@@ -160,7 +160,7 @@ end
assert('codegen error') do
code = "def f(#{(1..100).map{|n| "a#{n}"} * ","}); end"
assert_mruby("", /\Acodegen error:.*\n\z/, false, ["-e", code])
assert_mruby("", /\A.*\n\z/, false, ["-e", code])
end
assert('top level local variables are in file scope') do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment