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

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:
Sébastien Rombauts 2024-09-07 16:23:13 +02:00 committed by GitHub
commit 58c46e3ce7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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");
}