Don't return unexported types

This commit is contained in:
Rob Mulholand
2019-10-31 13:42:19 -05:00
parent e1236b4072
commit 4a98b7942f
7 changed files with 23 additions and 20 deletions
@@ -40,7 +40,7 @@ var _ = Describe("Parser", func() {
Describe("Mock Parse", func() {
It("Uses parses given abi string", func() {
mp := mocks.NewParser(constants.DaiAbiString)
err = mp.Parse()
err = mp.Parse(constants.DaiContractAddress)
Expect(err).ToNot(HaveOccurred())
parsedAbi := mp.ParsedAbi()