mirror of
https://github.com/jlengrand/helidon.git
synced 2026-03-10 08:21:17 +00:00
Removed unwanted line.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
This commit is contained in:
@@ -58,7 +58,6 @@ public class CancellationTest {
|
||||
Single<Object> single = Single.create(new CompletableFuture<>());
|
||||
CompletableFuture<Object> future = single.toStage().toCompletableFuture();
|
||||
single.onCancel(() -> cancelled.set(true));
|
||||
single.cancel();
|
||||
future.cancel(true); // should cancel single
|
||||
assertThat(cancelled.get(), is(true));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user