diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-03-31 11:35:56 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-03-31 11:35:56 +0900 |
| commit | 590c1073fc107efe2ae27a9c5fe6adf11c18ac7d (patch) | |
| tree | cb67341711333190f1aa610a26d01ccc8fceed36 /mrbgems/mruby-bin-mruby | |
| parent | cb8dabeb8c31ce4778d0f8665e9fdcff51a7f690 (diff) | |
| download | mruby-590c1073fc107efe2ae27a9c5fe6adf11c18ac7d.tar.gz mruby-590c1073fc107efe2ae27a9c5fe6adf11c18ac7d.zip | |
should have removed `codegen error:` prefix from the test.
Diffstat (limited to 'mrbgems/mruby-bin-mruby')
| -rw-r--r-- | mrbgems/mruby-bin-mruby/bintest/mruby.rb | 2 |
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 35a108a9d..a1952ca6d 100644 --- a/mrbgems/mruby-bin-mruby/bintest/mruby.rb +++ b/mrbgems/mruby-bin-mruby/bintest/mruby.rb @@ -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 |
