diff --git a/Makefile b/Makefile index 8b10519a8..9ca4fc458 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,7 @@ test-windows: go test ./plugins/inputs/win_perf_counters/... go test ./plugins/inputs/win_services/... go test ./plugins/inputs/procstat/... + go test ./plugins/inputs/ntpq/... # vet runs the Go source code static analysis tool `vet` to find # any common errors. diff --git a/plugins/inputs/ntpq/ntpq_test.go b/plugins/inputs/ntpq/ntpq_test.go index 33277221d..47b8cf8f4 100644 --- a/plugins/inputs/ntpq/ntpq_test.go +++ b/plugins/inputs/ntpq/ntpq_test.go @@ -1,5 +1,3 @@ -// +build !windows - package ntpq import (