fix: chaos tests
This commit is contained in:
parent
cd9858420f
commit
16f7d5801b
@ -4,8 +4,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/filecoin-project/go-state-types/abi"
|
||||||
"github.com/filecoin-project/go-state-types/exitcode"
|
"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"
|
"github.com/filecoin-project/specs-actors/support/mock"
|
||||||
atesting "github.com/filecoin-project/specs-actors/support/testing"
|
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"
|
msg := "constructor should not be called; the Chaos actor is a singleton actor"
|
||||||
rt.ExpectAssertionFailure(msg, func() {
|
rt.ExpectAssertionFailure(msg, func() {
|
||||||
rt.Call(a.Constructor, adt.Empty)
|
rt.Call(a.Constructor, abi.Empty)
|
||||||
})
|
})
|
||||||
rt.Verify()
|
rt.Verify()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user