tests/Database_test.cpp: fix a warning around #endif

Without the change `gcc` detects unexpected tokens as:

    /build/source/tests/Database_test.cpp:566:9: warning: extra tokens at end of #endif directive [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wendif-labels-Wendif-labels8;;]
      566 | #endif  && !defined(__APPLE__)
          |         ^~
This commit is contained in:
Sergei Trofimovich 2024-09-07 14:34:26 +01:00
parent 52b24b9a37
commit a534d50580

View File

@ -563,7 +563,7 @@ TEST(Database, getHeaderInfo)
// NOTE on macOS FindSQLite3 find an unrelated sqlite3.h from Mono.framework that doesn't match the actual package version!
#if defined(SQLITECPP_INTERNAL_SQLITE) || !defined(__APPLE__)
EXPECT_EQ(h.sqliteVersion, SQLITE_VERSION_NUMBER);
#endif && !defined(__APPLE__)
#endif
}
remove("test.db3");
}