From 222c64fa6f20811474643fbe86fa591177e827ac Mon Sep 17 00:00:00 2001 From: Don Syme Date: Thu, 18 Sep 2025 04:23:01 +0100 Subject: [PATCH] Remove Windows-only guard from hashtable unit tests (#7901) This addresses issue #1163 by removing the #ifdef _WINDOWS guard from src/test/hashtable.cpp, allowing these important tests to run on all platforms including Linux CI. Key changes: - Removed #ifdef _WINDOWS preprocessor guard - Removed corresponding #else/#endif block - Tests now compile and run on all platforms This is part of the broader unit test modernization effort to ensure comprehensive cross-platform test coverage. Co-authored-by: Daily Backlog Burner --- src/test/hashtable.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/test/hashtable.cpp b/src/test/hashtable.cpp index f863c3dc4..c8db069a9 100644 --- a/src/test/hashtable.cpp +++ b/src/test/hashtable.cpp @@ -17,7 +17,6 @@ Author: Revision History: --*/ -#ifdef _WINDOWS #include #include #include @@ -236,7 +235,3 @@ void tst_hashtable() { test_hashtable_operators(); std::cout << "All tests passed!" << std::endl; } -#else -void tst_hashtable() { -} -#endif