From 08340c857a54d67b8310a69558c45c37fd5600fb Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 13 Jan 2020 05:43:11 +0000 Subject: [PATCH] fix(golang_spec.rb): fix `rubocop` errors --- test/integration/default/golang_spec.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/integration/default/golang_spec.rb b/test/integration/default/golang_spec.rb index 17ed458..e47eb2b 100644 --- a/test/integration/default/golang_spec.rb +++ b/test/integration/default/golang_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + go_path = '/home/kitchen/go' # GO GET @@ -13,10 +15,11 @@ 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