should have removed codegen error: prefix from the test.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-03-31 11:35:56 +09:00
parent cb8dabeb8c
commit 590c1073fc
+1 -1
View File
@@ -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