test/cases/cancel.zig: update suspend to use @handle();

Tracking Issue #1296 ;
This commit is contained in:
kristopher tate 2018-08-02 17:47:03 +09:00
parent 9bed23f8b7
commit 9b890d7067

View File

@ -85,8 +85,8 @@ async fn b4() void {
defer {
defer_b4 = true;
}
suspend |p| {
b4_handle = p;
suspend {
b4_handle = @handle();
}
suspend;
}