Commit ff0647bc authored by Eric Lathrop's avatar Eric Lathrop

Remove newline from test import paths.

When running "make test" on my machine, I got many unrecognized import
path errors, and the path showed a trailing "\n". Changing the go list
format to remove the newline fixed these.
parent 7047c5f0
......@@ -15,8 +15,7 @@ format:
test:
@echo "$(OK_COLOR)==> Testing Packer...$(NO_COLOR)"
@go list -f '{{range .TestImports}}{{.}}\
{{end}}' ./... | xargs -n1 go get -d
@go list -f '{{range .TestImports}}{{.}} {{end}}' ./... | xargs -n1 go get -d
go test ./...
.PHONY: all format test
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment