Skip to content

Commit a89d25f

Browse files
committed
Add std_thread test
1 parent 6a56087 commit a89d25f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/show_versions.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,14 @@ TEST_CASE("show_versions - print_defines")
3535

3636
}
3737

38+
TEST_CASE("show_versions - std_thread")
39+
{
40+
auto t = std::thread([]() { });
41+
t.join();
42+
}
43+
3844
TEST_CASE("show_versions - std_async")
3945
{
4046
auto handle = std::async(std::launch::async, []() { return 1; });
4147
auto result = handle.get();
42-
}
48+
}

0 commit comments

Comments
 (0)