Skip to content

Commit

Permalink
Enable torrent_with_tmp_dir tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Zitrax committed Dec 14, 2024
1 parent 40223b4 commit a73fbec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_torrent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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__

0 comments on commit a73fbec

Please sign in to comment.