forked from cerc-io/ipld-eth-server
Update test to import file
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package core
|
||||
|
||||
func Message() string {
|
||||
return "Hello world"
|
||||
}
|
||||
+2
-1
@@ -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"))
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user