diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-01-10 17:02:32 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-01-11 13:51:52 +0900 |
| commit | ea31461ba0cd9eb2fb68fd5b13266e75c343a471 (patch) | |
| tree | bf850e0cfc181772329afd72e3bd45bfc1c759bc /test | |
| parent | 443e4178859ed4d2789c3e5c982647a8e10d7021 (diff) | |
[rubygems/rubygems] bin/rubocop -A --only Style/StringLiterals
https://github.com/rubygems/rubygems/commit/f25013bcc0
Diffstat (limited to 'test')
| -rw-r--r-- | test/rubygems/test_gem_ext_builder.rb | 2 | ||||
| -rw-r--r-- | test/rubygems/test_gem_source.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_ext_builder.rb b/test/rubygems/test_gem_ext_builder.rb index 64ea1e5a2b..b1b6356020 100644 --- a/test/rubygems/test_gem_ext_builder.rb +++ b/test/rubygems/test_gem_ext_builder.rb @@ -52,7 +52,7 @@ install: assert_match(/DESTDIR\\=#{ENV['DESTDIR']}$/, results) assert_match(/DESTDIR\\=#{ENV['DESTDIR']} install$/, results) - unless results.include?('nmake') + unless results.include?("nmake") assert_match(/^clean: destination$/, results) assert_match(/^all: destination$/, results) assert_match(/^install: destination$/, results) diff --git a/test/rubygems/test_gem_source.rb b/test/rubygems/test_gem_source.rb index 870f7b1dc2..aa26dd07f0 100644 --- a/test/rubygems/test_gem_source.rb +++ b/test/rubygems/test_gem_source.rb @@ -39,7 +39,7 @@ class TestGemSource < Gem::TestCase uri = URI.parse("file:///C:/WINDOWS/Temp/gem_repo") root = Gem.spec_cache_dir cache_dir = @source.cache_dir(uri).gsub(root, "") - assert !cache_dir.include?(':'), "#{cache_dir} should not contain a :" + assert !cache_dir.include?(":"), "#{cache_dir} should not contain a :" end def test_dependency_resolver_set_bundler_api |
