Skip to content

Commit 61fdc11

Browse files
committed
bin/rubocop -A
1 parent 38359eb commit 61fdc11

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

test/rubygems/test_gem_commands_sources_command.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ def test_execute_add
6161
end
6262

6363
def test_execute_add_without_trailing_slash
64-
setup_fake_source('https://rubygems.pkg.github.com/my-org')
64+
setup_fake_source("https://rubygems.pkg.github.com/my-org")
6565

6666
@cmd.handle_options %W[--add https://rubygems.pkg.github.com/my-org]
6767

6868
use_ui @ui do
6969
@cmd.execute
7070
end
7171

72-
assert_equal [@gem_repo, 'https://rubygems.pkg.github.com/my-org/'], Gem.sources
72+
assert_equal [@gem_repo, "https://rubygems.pkg.github.com/my-org/"], Gem.sources
7373

7474
expected = <<-EOF
7575
https://rubygems.pkg.github.com/my-org/ added to sources
@@ -80,15 +80,15 @@ def test_execute_add_without_trailing_slash
8080
end
8181

8282
def test_execute_add_multiple_trailing_slash
83-
setup_fake_source('https://rubygems.pkg.github.com/my-org/')
83+
setup_fake_source("https://rubygems.pkg.github.com/my-org/")
8484

8585
@cmd.handle_options %W[--add https://rubygems.pkg.github.com/my-org///]
8686

8787
use_ui @ui do
8888
@cmd.execute
8989
end
9090

91-
assert_equal [@gem_repo, 'https://rubygems.pkg.github.com/my-org/'], Gem.sources
91+
assert_equal [@gem_repo, "https://rubygems.pkg.github.com/my-org/"], Gem.sources
9292

9393
expected = <<-EOF
9494
https://rubygems.pkg.github.com/my-org/ added to sources
@@ -99,15 +99,15 @@ def test_execute_add_multiple_trailing_slash
9999
end
100100

101101
def test_execute_append_without_trailing_slash
102-
setup_fake_source('https://rubygems.pkg.github.com/my-org')
102+
setup_fake_source("https://rubygems.pkg.github.com/my-org")
103103

104104
@cmd.handle_options %W[--append https://rubygems.pkg.github.com/my-org]
105105

106106
use_ui @ui do
107107
@cmd.execute
108108
end
109109

110-
assert_equal [@gem_repo, 'https://rubygems.pkg.github.com/my-org/'], Gem.sources
110+
assert_equal [@gem_repo, "https://rubygems.pkg.github.com/my-org/"], Gem.sources
111111

112112
expected = <<-EOF
113113
https://rubygems.pkg.github.com/my-org/ added to sources
@@ -118,15 +118,15 @@ def test_execute_append_without_trailing_slash
118118
end
119119

120120
def test_execute_prepend_without_trailing_slash
121-
setup_fake_source('https://rubygems.pkg.github.com/my-org')
121+
setup_fake_source("https://rubygems.pkg.github.com/my-org")
122122

123123
@cmd.handle_options %W[--prepend https://rubygems.pkg.github.com/my-org]
124124

125125
use_ui @ui do
126126
@cmd.execute
127127
end
128128

129-
assert_equal ['https://rubygems.pkg.github.com/my-org/', @gem_repo], Gem.sources
129+
assert_equal ["https://rubygems.pkg.github.com/my-org/", @gem_repo], Gem.sources
130130

131131
expected = <<-EOF
132132
https://rubygems.pkg.github.com/my-org/ added to sources

0 commit comments

Comments
 (0)