Skip to content

Commit 30fbf4e

Browse files
authored
Merge pull request #444 from deivid-rodriguez/rubocop
Correct RuboCop offenses
2 parents 0157758 + 3e955f2 commit 30fbf4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_rake_file_utils.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ def test_sh_show_command
315315

316316
def test_sh_if_a_command_exits_with_error_status_its_full_output_is_printed
317317
verbose false do
318-
standard_output = 'Some output'
319-
standard_error = 'Some error'
318+
standard_output = "Some output"
319+
standard_error = "Some error"
320320
shell_command = "ruby -e\"puts '#{standard_output}';STDERR.puts '#{standard_error}';exit false\""
321321
actual_both = capture_subprocess_io do
322322
begin
@@ -342,13 +342,13 @@ def test_sh_if_a_command_exits_with_error_status_sh_echoes_it_fully
342342
end
343343

344344
def assert_echoes_fully
345-
long_string = '1234567890' * 10
345+
long_string = "1234567890" * 10
346346
shell_command = "ruby -e\"'#{long_string}';exit false\""
347347
capture_subprocess_io do
348348
begin
349349
sh shell_command
350350
rescue => ex
351-
assert_match 'Command failed with status', ex.message
351+
assert_match "Command failed with status", ex.message
352352
assert_match shell_command, ex.message
353353
else
354354
flunk

0 commit comments

Comments
 (0)