diff --git a/registry_test.go b/registry_test.go index 0408959..3c215df 100644 --- a/registry_test.go +++ b/registry_test.go @@ -126,3 +126,4 @@ type roundTripperFunc func(req *http.Request) (*http.Response, error) func (f roundTripperFunc) RoundTrip(req *http.Request) (*http.Response, error) { return f(req) } + diff --git a/tests/Makefile b/tests/Makefile deleted file mode 100644 index c17349b..0000000 --- a/tests/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -.PHONY: test test-parallel test-sequential test-local - -TEST_ARGS := $(if $(skip-destroy),-skip-destroy=$(skip-destroy)) \ - $(if $(exception),-exception=$(exception)) \ - $(if $(example),-example=$(example)) \ - $(if $(local),-local=$(local)) - -test: - go test -v -timeout 60m -run '^TestApplyNoError$$' -args $(TEST_ARGS) . - -test-parallel: - go test -v -timeout 60m -run '^TestApplyAllParallel$$' -args $(TEST_ARGS) . - -test-sequential: - go test -v -timeout 60m -run '^TestApplyAllSequential$$' -args $(TEST_ARGS) . - -test-local: - go test -v -timeout 60m -run '^TestApplyAllLocal$$' -args $(TEST_ARGS) . diff --git a/tests/validor_test.go b/tests/validor_test.go deleted file mode 100644 index e36f910..0000000 --- a/tests/validor_test.go +++ /dev/null @@ -1,23 +0,0 @@ -package tests - -import ( - "testing" - - "github.com/dkooll/validor" -) - -func TestApplyNoError(t *testing.T) { - validor.TestApplyNoError(t) -} - -func TestApplyAllParallel(t *testing.T) { - validor.TestApplyAllParallel(t) -} - -func TestApplyAllSequential(t *testing.T) { - validor.TestApplyAllSequential(t) -} - -func TestApplyAllLocal(t *testing.T) { - validor.TestApplyAllLocal(t) -}