Commit 315bf2fa authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ole32/tests: Add a trailing '\n' to ok() calls.

parent 458c7292
......@@ -203,19 +203,19 @@ static void test_StringFromGUID2(void)
int len;
/* Test corner cases for buffer size */
len = StringFromGUID2(&CLSID_CDeviceMoniker,str,50);
ok(len == 39, "len: %d (expected 39)",len);
ok(len == 39, "len: %d (expected 39)\n", len);
ok(!lstrcmpiW(str, wszCLSID_CDeviceMoniker),"string wan't equal for CLSID_CDeviceMoniker\n");
memset(str,0,sizeof str);
len = StringFromGUID2(&CLSID_CDeviceMoniker,str,39);
ok(len == 39, "len: %d (expected 39)",len);
ok(len == 39, "len: %d (expected 39)\n", len);
ok(!lstrcmpiW(str, wszCLSID_CDeviceMoniker),"string wan't equal for CLSID_CDeviceMoniker\n");
len = StringFromGUID2(&CLSID_CDeviceMoniker,str,38);
ok(len == 0, "len: %d (expected 0)",len);
ok(len == 0, "len: %d (expected 0)\n", len);
len = StringFromGUID2(&CLSID_CDeviceMoniker,str,30);
ok(len == 0, "len: %d (expected 0)",len);
ok(len == 0, "len: %d (expected 0)\n", len);
}
static void test_CoCreateInstance(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment