From 591828031eff98cf140e9a50ff5c97e4ae62c400 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Thu, 26 Jan 2023 10:39:24 +0000 Subject: [PATCH] Rename. --- .github/coverage.sh | 4 ++-- conn_test.go => sqlite3_test.go | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename conn_test.go => sqlite3_test.go (100%) diff --git a/.github/coverage.sh b/.github/coverage.sh index bee0026..fe8c52e 100755 --- a/.github/coverage.sh +++ b/.github/coverage.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -eo pipefail +set -euo pipefail SCRIPT_DIR="$(dirname -- "$(readlink -f "${BASH_SOURCE[0]}")")" @@ -8,7 +8,7 @@ go tool cover -html="$SCRIPT_DIR/coverage.out" -o "$SCRIPT_DIR/coverage.html" COVERAGE=$(go tool cover -func="$SCRIPT_DIR/coverage.out" | grep total: | grep -Eo '[0-9]+\.[0-9]+') echo -echo "Full coverage: $COVERAGE% of statements" +echo "coverage: $COVERAGE% of statements" COLOR=orange if (( $(echo "$COVERAGE <= 50" | bc -l) )) ; then diff --git a/conn_test.go b/sqlite3_test.go similarity index 100% rename from conn_test.go rename to sqlite3_test.go