From 6eedad6eee9fcabb6e35a0dc04ab478bcac2b695 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Tue, 30 Apr 2024 09:41:12 +0800 Subject: [PATCH] fix future_test --- src/sled/futures/future_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sled/futures/future_test.cc b/src/sled/futures/future_test.cc index 3dea345..1bf2787 100644 --- a/src/sled/futures/future_test.cc +++ b/src/sled/futures/future_test.cc @@ -126,7 +126,7 @@ TEST_SUITE("future") return 1; }); f2.Wait(); - CHECK_FALSE(f2.IsFailed()); + CHECK(f2.IsFailed()); CHECK_EQ(std::string("test"), f2.FailureReason().what()); CHECK(f2.IsFailed());