From a73fbec73e9fcd6ac5a7cd366b3b64a8ec2f815b Mon Sep 17 00:00:00 2001 From: Daniel Bengtsson Date: Sat, 14 Dec 2024 22:46:15 +0100 Subject: [PATCH] Enable torrent_with_tmp_dir tests on Windows --- tests/test_torrent.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_torrent.cpp b/tests/test_torrent.cpp index 4e27a5c..dbd43bb 100644 --- a/tests/test_torrent.cpp +++ b/tests/test_torrent.cpp @@ -144,8 +144,6 @@ TEST_F(torrent, multi_listen) { zit::Torrent t2(m_io_context, data_dir / "test.torrent"); } -#ifdef __linux__ - // 127.0.0.1:65535 const auto FAKE_URL = "\x7F\x00\x00\x01\xFF\xFF"s; @@ -229,5 +227,3 @@ TEST_F(torrent_with_tmp_dir, tracker_requests_announce_list) { EXPECT_THAT(requests, testing::UnorderedElementsAreArray({"t1_1", "t1_2", "t2_1"})); } - -#endif // __linux__