feat update test

This commit is contained in:
tqcq 2024-04-19 19:10:44 +08:00
parent 050ca0c0cc
commit f896568619

View File

@ -115,6 +115,8 @@ TEST_SUITE("future")
CHECK_FALSE(f2.IsFailed());
auto f3 = sled::Future<std::string>::AsyncValue("11");
CHECK_EQ(f3.Result(), "11");
}
TEST_CASE("Constructor")
{
sled::Future<int, std::string> f1 = 1;