mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
Tests: Enable ThreadedPromise tests on Windows
This commit is contained in:
parent
3c9ddc9b7f
commit
670cbccb4c
Notes:
github-actions[bot]
2025-10-22 22:33:47 +00:00
Author: https://github.com/Zaggy1024
Commit: 670cbccb4c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6550
1 changed files with 0 additions and 5 deletions
|
|
@ -115,9 +115,6 @@ TEST_CASE(promise_map_already_resolved)
|
||||||
EXPECT_EQ(result.value(), 42);
|
EXPECT_EQ(result.value(), 42);
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: Support EventLoop::WaitMode::PollForEvents on Windows, otherwise ThreadedPromise::await() blocks forever
|
|
||||||
|
|
||||||
#if !defined(AK_OS_WINDOWS)
|
|
||||||
TEST_CASE(threaded_promise_instantly_resolved)
|
TEST_CASE(threaded_promise_instantly_resolved)
|
||||||
{
|
{
|
||||||
Core::EventLoop loop;
|
Core::EventLoop loop;
|
||||||
|
|
@ -222,5 +219,3 @@ TEST_CASE(threaded_promise_synchronously_resolved)
|
||||||
EXPECT(resolved);
|
EXPECT(resolved);
|
||||||
EXPECT(!rejected);
|
EXPECT(!rejected);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue