Update test to import file
This commit is contained in:
parent
d28c64c59b
commit
67a0d3c850
5
core/message.go
Normal file
5
core/message.go
Normal file
@ -0,0 +1,5 @@
|
||||
package core
|
||||
|
||||
func Message() string {
|
||||
return "Hello world"
|
||||
}
|
@ -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"))
|
||||
})
|
||||
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user