features/test/go/test.sh

13 lines
279 B
Bash
Raw Normal View History

#!/bin/bash
set -e
2022-05-13 03:07:22 +03:00
# Optional: Import test library
source dev-container-features-test-lib
check "version" go version
check "revive version" revive --version
check "revive is installed at correct path" bash -c "which revive | grep /go/bin/revive"
# Report result
reportResults