Andrew Talbot : setupapi/tests: Add trailing '\n's to ok() calls.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jun 30 14:15:23 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: cd9202d05b22c367c74ebc72f92c3bbed6bcf9ff
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=cd9202d05b22c367c74ebc72f92c3bbed6bcf9ff
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Fri Jun 30 18:15:10 2006 +0100
setupapi/tests: Add trailing '\n's to ok() calls.
---
dlls/setupapi/tests/devinst.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/setupapi/tests/devinst.c b/dlls/setupapi/tests/devinst.c
index ad4aea0..4181858 100644
--- a/dlls/setupapi/tests/devinst.c
+++ b/dlls/setupapi/tests/devinst.c
@@ -44,7 +44,7 @@ static void test_Device_Info_List(void)
error = GetLastError();
ok(devlist == INVALID_HANDLE_VALUE, "SetupDiCreateDeviceInfoListExW failed : %p %ld (expected %p)\n", devlist, error, INVALID_HANDLE_VALUE);
- ok(error == ERROR_INVALID_PARAMETER, "GetLastError returned wrong value : %ld, (expected %d)", error, ERROR_INVALID_PARAMETER);
+ ok(error == ERROR_INVALID_PARAMETER, "GetLastError returned wrong value : %ld, (expected %d)\n", error, ERROR_INVALID_PARAMETER);
SetLastError(0xdeadbeef);
/* create empty DeviceInfoList, but set MachineName to something */
@@ -52,7 +52,7 @@ static void test_Device_Info_List(void)
error = GetLastError();
ok(devlist == INVALID_HANDLE_VALUE, "SetupDiCreateDeviceInfoListExW failed : %p %ld (expected %p)\n", devlist, error, INVALID_HANDLE_VALUE);
- ok(error == ERROR_INVALID_MACHINENAME, "GetLastError returned wrong value : %ld, (expected %d)", error, ERROR_INVALID_MACHINENAME);
+ ok(error == ERROR_INVALID_MACHINENAME, "GetLastError returned wrong value : %ld, (expected %d)\n", error, ERROR_INVALID_MACHINENAME);
/* create empty DeviceInfoList */
devlist = SetupDiCreateDeviceInfoListExW(NULL, NULL, NULL, NULL);
@@ -60,7 +60,7 @@ static void test_Device_Info_List(void)
/* destroy DeviceInfoList */
ret = SetupDiDestroyDeviceInfoList(devlist);
- ok(ret, "SetupDiDestroyDeviceInfoList failed : %ld", error);
+ ok(ret, "SetupDiDestroyDeviceInfoList failed : %ld\n", error);
}
START_TEST(devinst)
More information about the wine-cvs
mailing list