Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix smoke test
Browse files Browse the repository at this point in the history
soutaro committed Feb 24, 2020
1 parent 8fafab6 commit e108364
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions smoke/regexp/b.rb
Original file line number Diff line number Diff line change
@@ -12,11 +12,11 @@
match_ref_3.foo

match_ref_4 = match[0, 1]
# !expects NoMethodError: type=::Array[::String], method=foo
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
match_ref_4.foo

match_ref_5 = match[0..1]
# !expects NoMethodError: type=::Array[::String], method=foo
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
match_ref_5.foo

begin_1 = match.begin(0)
@@ -32,7 +32,7 @@
begin_3.foo

captures_1 = match.captures
# !expects NoMethodError: type=::Array[::String], method=foo
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
captures_1.foo

end_1 = match.end(0)
@@ -92,7 +92,7 @@
string_1.foo

to_a_1 = match.to_a
# !expects NoMethodError: type=::Array[::String], method=foo
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
to_a_1.foo

values_at_1 = match.values_at

0 comments on commit e108364

Please sign in to comment.