Fix a bug that scan_until behaves differently with Regexp and String patterns #412
ci.yml
on: pull_request
ruby-versions
/
Generate Ruby versions
4s
Matrix: host
Annotations
28 errors
|
Error:
test/strscan/test_stringscanner.rb#L435
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:435:in `test_matched_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L589
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:589:in `test_post_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L545
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:545:in `test_pre_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L435
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:435:in `test_matched_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L589
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:589:in `test_post_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L545
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:545:in `test_pre_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
macos-latest truffleruby
Process completed with exit code 1.
|
|
Error:
test/strscan/test_stringscanner.rb#L435
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:435:in `test_matched_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L589
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:589:in `test_post_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L545
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:545:in `test_pre_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L435
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:435:in `test_matched_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L589
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:589:in `test_post_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L545
TypeError: wrong argument type String (expected Regexp)
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/Users/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/Users/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:545:in `test_pre_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
macos-latest truffleruby-head
Process completed with exit code 1.
|
|
Error:
test/strscan/test_stringscanner.rb#L435
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:435:in `test_matched_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L589
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:589:in `test_post_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L545
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:545:in `test_pre_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L435
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:435:in `test_matched_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L589
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:589:in `test_post_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L545
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-24.1.2/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:545:in `test_pre_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
ubuntu-latest truffleruby
Process completed with exit code 1.
|
|
Error:
test/strscan/test_stringscanner.rb#L435
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:435:in `test_matched_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L589
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:589:in `test_post_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L545
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:545:in `test_pre_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L435
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:435:in `test_matched_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L589
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:589:in `test_post_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
Error:
test/strscan/test_stringscanner.rb#L545
TypeError: wrong argument type String (expected Regexp)
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:323:in `scan_check_args'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:335:in `scan_internal'
/home/runner/.rubies/truffleruby-head/lib/truffle/strscan.rb:248:in `scan_until'
/home/runner/work/strscan/strscan/test/strscan/test_stringscanner.rb:545:in `test_pre_match_string'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
ubuntu-latest truffleruby-head
Process completed with exit code 1.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
gem-ubuntu-latest-3.3
Expired
|
20.4 KB |
sha256:2344497dc1a15fb88b7593abad5d365136124d604618b6681adfe2e5e56420bc
|
|
|
gem-ubuntu-latest-jruby
Expired
|
13.8 KB |
sha256:05c8fe7e9103a90a3e37dcb551d3193909c0d90002f16ddc5d4f7ef049113db6
|
|