Skip to content

Commit

Permalink
Fix not match case
Browse files Browse the repository at this point in the history
  • Loading branch information
ksss committed Mar 18, 2024
1 parent e363ee5 commit 812b73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/stdlib/String_test.rb
Expand Up @@ -962,7 +962,7 @@ def test_gsub!
with_string('l').and /l/ do |pattern|
assert_send_type '(Regexp | string) -> Enumerator[String, String]',
+'hello', :gsub!, pattern
assert_send_type '(Regexp | string) -> Enumerator[String, String]',
assert_send_type '(Regexp | string) -> Enumerator[String, nil]',
+'heya', :gsub!, pattern

assert_send_type '(Regexp | string) { (String) -> _ToS } -> String',
Expand Down

0 comments on commit 812b73a

Please sign in to comment.