changeset 1477:8b654bb91930

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 01 Aug 2015 21:43:24 +0200
parents ec7427df0a2a
children 1011bd6ab00b
files UnitTestsSources/VersionsTests.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/VersionsTests.cpp	Sat Aug 01 21:40:49 2015 +0200
+++ b/UnitTestsSources/VersionsTests.cpp	Sat Aug 01 21:43:24 2015 +0200
@@ -65,9 +65,9 @@
 TEST(Versions, SQLite)
 {
   // http://www.sqlite.org/capi3ref.html#sqlite3_libversion
-  assert(sqlite3_libversion_number() == SQLITE_VERSION_NUMBER );
-  assert(strcmp(sqlite3_sourceid(), SQLITE_SOURCE_ID) == 0);
-  assert(strcmp(sqlite3_libversion(), SQLITE_VERSION) == 0);
+  ASSERT_EQ(sqlite3_libversion_number(), SQLITE_VERSION_NUMBER);
+  ASSERT_STREQ(sqlite3_sourceid(), SQLITE_SOURCE_ID);
+  ASSERT_STREQ(sqlite3_libversion(), SQLITE_VERSION);
 
   // Ensure that the SQLite version is above 3.7.0.
   // "sqlite3_create_function_v2" is not defined in previous versions.