diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-12-17 12:18:25 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-09 13:56:07 +0100 |
commit | 6106dcb112c0ff995744281c5a343a7918491884 (patch) | |
tree | aed1557da917159ad6bc78ef9433dadf5c3b97e6 /tests | |
parent | 166331435f6007ea3363efeeaacec6fe5e972214 (diff) | |
download | msitools-6106dcb112c0ff995744281c5a343a7918491884.tar.gz msitools-6106dcb112c0ff995744281c5a343a7918491884.tar.xz msitools-6106dcb112c0ff995744281c5a343a7918491884.zip |
database: make apply_transform() GObject-like
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testdatabase.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testdatabase.c b/tests/testdatabase.c index b9b3480..c08101c 100644 --- a/tests/testdatabase.c +++ b/tests/testdatabase.c @@ -2523,8 +2523,8 @@ static void test_try_transform(void) hdb = libmsi_database_new(msifile, LIBMSI_DB_OPEN_TRANSACT, NULL ); ok(hdb , "Failed to create database\n" ); - r = libmsi_database_apply_transform( hdb, mstfile, 0 ); - ok( r == LIBMSI_RESULT_SUCCESS, "return code %d, should be LIBMSI_RESULT_SUCCESS\n", r ); + r = libmsi_database_apply_transform(hdb, mstfile, NULL); + ok(r, "libmsi_database_apply_transform() failed\n"); libmsi_database_commit( hdb ); |