Merge pull request #3768 from filecoin-project/fix/chaos-tests

fix: chaos tests
This commit is contained in:
Raúl Kripalani 2020-09-11 15:45:02 +01:00 committed by GitHub
commit c017d0fbaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,8 +4,8 @@ import (
"context"
"testing"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/exitcode"
"github.com/filecoin-project/specs-actors/actors/util/adt"
"github.com/filecoin-project/specs-actors/support/mock"
atesting "github.com/filecoin-project/specs-actors/support/testing"
)
@ -19,7 +19,7 @@ func TestSingleton(t *testing.T) {
msg := "constructor should not be called; the Chaos actor is a singleton actor"
rt.ExpectAssertionFailure(msg, func() {
rt.Call(a.Constructor, adt.Empty)
rt.Call(a.Constructor, abi.Empty)
})
rt.Verify()
}