Skip to content

Commit

Permalink
[v6.d REVIEW] Test ex. payload instead of .message
Browse files Browse the repository at this point in the history
Orig: 6eb5a91c9
  • Loading branch information
zoffixznet committed Oct 13, 2018
1 parent 635d660 commit 60344f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S17-promise/basic.t
Expand Up @@ -56,7 +56,7 @@ plan 41;
ok $p.Bool, "Broken Promise has a result";
ok ?$p, "Broken Promise is true";
isa-ok $p.cause, Exception, "cause returns an exception";
is $p.cause.message, "Died", "Default exception message is 'Died'";
is $p.cause.payload, "Died", "Default exception payload is 'Died'";
}

{ # RT #124190
Expand Down

0 comments on commit 60344f5

Please sign in to comment.