fix tests

This commit is contained in:
Aayush Rajasekaran 2020-09-10 14:57:21 -04:00
parent beba92aed4
commit 230ef2484d

View File

@ -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 {