Skip to content

Commit fcc5aa0

Browse files
Piotr Stachyra64kramsystem
authored andcommitted
Satisfy rubocop
1 parent 9785981 commit fcc5aa0

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ require 'rake/clean'
1010
task default: %w[test]
1111
rubyc_deps = FileList[File.expand_path('**/*', __dir__)] - [File.expand_path(((Gem.win_platform? ? 'rubyc.exe' : 'rubyc')), __dir__)]
1212

13-
desc "build #{(Gem.win_platform? ? 'rubyc.exe' : 'rubyc')}"
13+
desc "build #{Gem.win_platform? ? 'rubyc.exe' : 'rubyc'}"
1414
file((Gem.win_platform? ? 'rubyc.exe' : 'rubyc') => rubyc_deps) do
15-
warn "Rebuilding #{(Gem.win_platform? ? 'rubyc.exe' : 'rubyc')}..."
15+
warn "Rebuilding #{Gem.win_platform? ? 'rubyc.exe' : 'rubyc'}..."
1616

1717
# don't include rubyc in rubyc
1818
rm_f(Gem.win_platform? ? 'rubyc.exe' : 'rubyc')

test/roundtrip/test_rubyc.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ def ruby(*args)
4646

4747
flunk <<~MESSAGE unless status.success?
4848
failed to run ruby #{args.join ' '}
49-
49+
5050
-------- <stdout> ----------
5151
#{stdout.read}
5252
-------- <stdout> ----------
53-
53+
5454
-------- <stderr> ----------
5555
#{stderr.read}
5656
-------- <stderr> ----------
@@ -79,11 +79,11 @@ def rubyc(*args)
7979

8080
flunk <<~MESSAGE unless status.success?
8181
failed to run rubyc #{args.join ' '}
82-
82+
8383
-------- <stdout> ----------
8484
#{stdout.read}
8585
-------- <stdout> ----------
86-
86+
8787
-------- <stderr> ----------
8888
#{stderr.read}
8989
-------- <stderr> ----------

0 commit comments

Comments
 (0)