fix(golang_spec.rb): fix rubocop errors

This commit is contained in:
Imran Iqbal 2020-01-13 05:43:11 +00:00
parent 83ed92bf64
commit 08340c857a
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
go_path = '/home/kitchen/go'
# GO GET
@ -13,10 +15,11 @@ control 'go get github.com/golang/example/hello' do
it { should be_executable }
end
%w(
%w[
github.com/golang/example/hello
).each do |f|
].each do |f|
describe file("#{go_path}/src/#{f}") do
it { should exist }
end
end
end