diff --git a/.circleci/config.yml b/.circleci/config.yml index 77020a4..36c788d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,5 +20,5 @@ jobs: - run: go get -v -t -d ./... - run: xvfb-run go test -v ./... # codecov.io - # - run: go test -v -covermode=count -coverprofile=coverage.out - # - run: bash <(curl -s https://codecov.io/bash) + - run: go test -v -covermode=count -coverprofile=coverage.out + - run: bash <(curl -s https://codecov.io/bash) diff --git a/robotgo_test.go b/robotgo_test.go index d3a4469..3dfd33d 100644 --- a/robotgo_test.go +++ b/robotgo_test.go @@ -35,7 +35,7 @@ func TestSize(t *testing.T) { x, y = GetScaleSize() tt.NotZero(t, x) - tt.NotZero(t, x) + tt.NotZero(t, y) } func TestMoveMouse(t *testing.T) {