From d0431295d6320e070660ced3e8c66b4a187252d9 Mon Sep 17 00:00:00 2001 From: Eric Meyer Date: Thu, 19 Oct 2017 09:58:36 -0500 Subject: [PATCH] Nest tests with their package --- README.md | 2 +- vulcanizedb_suite_test.go => core/core_suite_test.go | 2 +- vulcanizedb_test.go => core/message_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename vulcanizedb_suite_test.go => core/core_suite_test.go (90%) rename vulcanizedb_test.go => core/message_test.go (93%) diff --git a/README.md b/README.md index 0b26335b..6f694ad6 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,4 @@ By default, `go get` does not work for private GitHub repos. This will fix that. ## Running the Tests -`go test` +`go test ./...` diff --git a/vulcanizedb_suite_test.go b/core/core_suite_test.go similarity index 90% rename from vulcanizedb_suite_test.go rename to core/core_suite_test.go index d220d61d..9f5a38b8 100644 --- a/vulcanizedb_suite_test.go +++ b/core/core_suite_test.go @@ -1,4 +1,4 @@ -package main_test +package core_test import ( . "github.com/onsi/ginkgo" diff --git a/vulcanizedb_test.go b/core/message_test.go similarity index 93% rename from vulcanizedb_test.go rename to core/message_test.go index 89a95996..3891e8f3 100644 --- a/vulcanizedb_test.go +++ b/core/message_test.go @@ -1,4 +1,4 @@ -package main_test +package core_test import ( vulcanizedb "github.com/8thlight/vulcanizedb/core"