From cfae3b0f0d016f36229060b0e2abf5d55c9304e3 Mon Sep 17 00:00:00 2001 From: Shunya Hayashi <70781900+devshun@users.noreply.github.com> Date: Thu, 1 Jun 2023 00:53:50 +0900 Subject: update go tools (#559) * update go tools * update link * add unit tests for confirm installation * fix path install gotests * fix bump the minor version --- test/go/test.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test') diff --git a/test/go/test.sh b/test/go/test.sh index ccae6da..0a9e045 100755 --- a/test/go/test.sh +++ b/test/go/test.sh @@ -5,9 +5,24 @@ set -e # Optional: Import test library source dev-container-features-test-lib +# go check "version" go version + +# revive check "revive version" revive --version check "revive is installed at correct path" bash -c "which revive | grep /go/bin/revive" +# gomodifytags +check "gomodifytags is installed at correct path" bash -c "which gomodifytags | grep /go/bin/gomodifytags" + +# goplay +check "goplay is installed at correct path" bash -c "which goplay | grep /go/bin/goplay" + +# gotests +check "gotests is installed at correct path" bash -c "which gotests | grep /go/bin/gotests" + +# impl +check "impl is installed at correct path" bash -c "which impl | grep /go/bin/impl" + # Report result reportResults \ No newline at end of file -- cgit v1.2.3