Skip to content

Commit

Permalink
[rubygems/rubygems] Prefer assert_include over mere assert
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu authored and matzbot committed Jun 22, 2023
1 parent a651903 commit 8142728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rubygems/test_gem_update_suggestion.rb
Expand Up @@ -72,7 +72,7 @@ def test_eglible_for_update
assert_equal 123_456_789, Gem.configuration.last_update_check

# test last check is written to config file
assert File.read(Gem.configuration.state_file_name).match("123456789")
assert_include File.read(Gem.configuration.state_file_name), "123456789"
end
end
end
Expand Down

0 comments on commit 8142728

Please sign in to comment.