2022-05-12 23:10:51 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2022-05-13 03:07:22 +03:00
|
|
|
# Optional: Import test library
|
|
|
|
source dev-container-features-test-lib
|
2022-05-12 23:10:51 +03:00
|
|
|
|
|
|
|
check "version" go version
|
2022-09-16 23:51:35 +03:00
|
|
|
check "revive version" revive --version
|
2022-11-23 20:33:50 +03:00
|
|
|
check "revive is installed at correct path" bash -c "which revive | grep /go/bin/revive"
|
2022-05-12 23:10:51 +03:00
|
|
|
|
|
|
|
# Report result
|
|
|
|
reportResults
|