Skip to content

Commit 51840b4

Browse files
committed
test(config): auto-fix rubocop violation [skip ci]
``` test/integration/package/controls/config_spec.rb:6:5: C: [Corrected] Style/WordArray: Use ['C:/Go/bin/go.exe', 'NT AUTHORITY\\SYSTEM'] for an array of words. (https://rubystyle .guide#percent-w) %w[C:/Go/bin/go.exe NT\ AUTHORITY\\SYSTEM] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` Apply to `else` for consistency.
1 parent 0a1ff5c commit 51840b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/package/controls/config_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
golang_exec_file, golang_exec_owner =
44
case system.platform[:family]
55
when 'windows'
6-
%w[C:/Go/bin/go.exe NT\ AUTHORITY\\SYSTEM]
6+
['C:/Go/bin/go.exe', 'NT AUTHORITY\\SYSTEM']
77
else
8-
%w[/etc/default/golang.sh root]
8+
['/etc/default/golang.sh', 'root']
99
end
1010

1111
golang_exec_group =

0 commit comments

Comments
 (0)