Skip to content

Commit

Permalink
chore: there is no need to test the output of CompileContract, just t…
Browse files Browse the repository at this point in the history
…hat it finished without error
  • Loading branch information
randomshinichi committed Oct 10, 2019
1 parent 373bdd0 commit 71a5ba5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integration_test/compiler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ func TestCompiler(t *testing.T) {
}
})
t.Run("CompileContract", func(t *testing.T) {
compiled, err := c.CompileContract(string(golden.Get(t, simplestorageSource)), config.Compiler.Backend)
_, err := c.CompileContract(string(golden.Get(t, simplestorageSource)), config.Compiler.Backend)
if err != nil {
t.Error(err)
}
golden.Assert(t, compiled, simplestorageBytecode)
})
t.Run("CompileErrorDeserialization", func(t *testing.T) {
// Compiler v4.0.0-rc4 and onwards will return a
Expand Down

0 comments on commit 71a5ba5

Please sign in to comment.