Commit 9a7a349a authored by Romain Courteaud's avatar Romain Courteaud

Tests: rsvp propagate the cancel message

See rsvp.js@fa862176
parent d92e9448
Pipeline #18829 passed with stage
in 0 seconds
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
ok(false, 'Should not reach that code 2'); ok(false, 'Should not reach that code 2');
}, function (error) { }, function (error) {
assertCounter(0); assertCounter(0);
equal(error.message, 'Default Message'); equal(error.message, 'cancel callback1');
return 'handler1 result'; return 'handler1 result';
}), }),
mutex.lockAndRun(callback2), mutex.lockAndRun(callback2),
...@@ -375,7 +375,7 @@ ...@@ -375,7 +375,7 @@
ok(false, 'Should not reach that code'); ok(false, 'Should not reach that code');
}, function (error) { }, function (error) {
assertCounter(2); assertCounter(2);
equal(error.message, 'Default Message'); equal(error.message, 'cancel callback2');
return 'handler2 result'; return 'handler2 result';
}), }),
defer.promise defer.promise
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment