fix tests
This commit is contained in:
parent
beba92aed4
commit
230ef2484d
@ -243,7 +243,7 @@ type AbortWithArgs struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// AbortWith simply causes a panic with the passed exit code.
|
// AbortWith simply causes a panic with the passed exit code.
|
||||||
func (a Actor) AbortWith(rt runtime.Runtime, args *AbortWithArgs) *adt.EmptyValue {
|
func (a Actor) AbortWith(rt runtime.Runtime, args *AbortWithArgs) *abi.EmptyValue {
|
||||||
if args.Uncontrolled { // uncontrolled abort: directly panic
|
if args.Uncontrolled { // uncontrolled abort: directly panic
|
||||||
panic(args.Message)
|
panic(args.Message)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user