Skip to content

Instantly share code, notes, and snippets.

@markstgodard
Last active March 21, 2019 17:51
Show Gist options
  • Save markstgodard/3a2ffa507d9269f208d02d070fe3c06a to your computer and use it in GitHub Desktop.
Save markstgodard/3a2ffa507d9269f208d02d070fe3c06a to your computer and use it in GitHub Desktop.
addr_test.go (ginkgo 2)
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