text_cop_spec: update go get tests

This commit is contained in:
Dominyk Tiller 2017-10-31 01:01:42 +00:00
parent 883fee78ad
commit bff4762d36
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

@ -66,7 +66,7 @@ describe RuboCop::Cop::FormulaAudit::Text do
def install def install
system "go", "get", "bar" system "go", "get", "bar"
^^^^^^^^^^^^^^^^^^^^^^^^^ Formulae should not use `go get`. If non-vendored resources are required use `go_resource`s. ^^^^^^^^^^^^^^^^^^^^^^^^^ Do not use `go get`. Please ask upstream to implement Go vendoring
end end
end end
RUBY RUBY
@ -139,7 +139,7 @@ describe RuboCop::Cop::FormulaAudit::Text do
def install def install
system "go", "get", "bar" system "go", "get", "bar"
^^^^^^^^^^^^^^^^^^^^^^^^^ Formulae should not use `go get`. If non-vendored resources are required use `go_resource`s. ^^^^^^^^^^^^^^^^^^^^^^^^^ Do not use `go get`. Please ask upstream to implement Go vendoring
end end
end end
RUBY RUBY