mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[rubygems/rubygems] bin/rubocop -A --only Style/StringLiterals
https://github.com/rubygems/rubygems/commit/f25013bcc0
This commit is contained in:
parent
443e417885
commit
ea31461ba0
@ -87,7 +87,7 @@ Use --overwrite to force rebuilding of documentation.
|
||||
begin
|
||||
doc.generate
|
||||
rescue Errno::ENOENT => e
|
||||
match = e.message.include?(' - ')
|
||||
match = e.message.include?(" - ")
|
||||
alert_error "Unable to document #{spec.full_name}, " \
|
||||
" #{match.post_match} is missing, skipping"
|
||||
terminate_interaction 1 if specs.length == 1
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user