Skip to content

Commit e7c7f3b

Browse files
committed
fix coverage
1 parent 7581017 commit e7c7f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
echo "" > coverage.txt
55

66
for d in $(go list ./... | grep -v vendor); do
7-
go test -coverprofile=profile.out $d
7+
go test -coverprofile=profile.out -coverpkg=github.com/json-iterator/go $d
88
if [ -f profile.out ]; then
99
cat profile.out >> coverage.txt
1010
rm profile.out

0 commit comments

Comments
 (0)