Update test to import file

This commit is contained in:
Eric Meyer 2017-10-19 09:32:54 -05:00
parent d28c64c59b
commit 67a0d3c850
2 changed files with 7 additions and 1 deletions

5
core/message.go Normal file
View File

@ -0,0 +1,5 @@
package core
func Message() string {
return "Hello world"
}

View File

@ -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"))
})
})