Last active
March 21, 2019 17:51
-
-
Save markstgodard/3a2ffa507d9269f208d02d070fe3c06a to your computer and use it in GitHub Desktop.
addr_test.go (ginkgo 2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package adder_test | |
import ( | |
. "github.com/onsi/ginkgo" | |
. "github.com/onsi/gomega" | |
. "github.com/markstgodard/adder" | |
) | |
var _ = Describe("Adder", func() { | |
Describe("Add", func() { | |
It("adds two numbers", func() { | |
sum := Add(2, 3) | |
Expect(sum).To(Equal(5)) | |
}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment