From 67a0d3c8502dd8272353d94b86bc2eefd4788acd Mon Sep 17 00:00:00 2001 From: Eric Meyer Date: Thu, 19 Oct 2017 09:32:54 -0500 Subject: [PATCH] Update test to import file --- core/message.go | 5 +++++ vulcanizedb_test.go | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 core/message.go diff --git a/core/message.go b/core/message.go new file mode 100644 index 00000000..4736607f --- /dev/null +++ b/core/message.go @@ -0,0 +1,5 @@ +package core + +func Message() string { + return "Hello world" +} diff --git a/vulcanizedb_test.go b/vulcanizedb_test.go index ea681694..89a95996 100644 --- a/vulcanizedb_test.go +++ b/vulcanizedb_test.go @@ -1,6 +1,7 @@ package main_test import ( + vulcanizedb "github.com/8thlight/vulcanizedb/core" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" ) @@ -8,7 +9,7 @@ import ( var _ = Describe("Vulcanizedb", func() { It("is an example test", func() { - Expect(1).Should(Equal(1)) + Expect(vulcanizedb.Message()).Should(Equal("Hello world")) }) })