Add trailing '\n's to ok() calls.
This commit is contained in:
parent
29b5c987d5
commit
e092adfc9b
|
@ -121,7 +121,7 @@ static void test_fileops( void )
|
|||
fclose (file);
|
||||
|
||||
file = fopen("fdopen.tst", "rb");
|
||||
ok( file != NULL, "fopen failed");
|
||||
ok( file != NULL, "fopen failed\n");
|
||||
/* sizeof(buffer) > content of file */
|
||||
ok(fread(buffer, sizeof(buffer), 1, file) == 0, "fread test failed\n");
|
||||
/* feof should be set now */
|
||||
|
|
|
@ -87,7 +87,7 @@ static void test_CoCreateInstance(void)
|
|||
REFCLSID rclsid = &CLSID_MyComputer;
|
||||
IUnknown *pUnk = (IUnknown *)0xdeadbeef;
|
||||
HRESULT hr = CoCreateInstance(rclsid, NULL, CLSCTX_INPROC_SERVER, &IID_IUnknown, (void **)&pUnk);
|
||||
ok(hr == CO_E_NOTINITIALIZED, "CoCreateInstance should have return CO_E_NOTINITIALIZED instead of 0x%08lx", hr);
|
||||
ok(hr == CO_E_NOTINITIALIZED, "CoCreateInstance should have returned CO_E_NOTINITIALIZED instead of 0x%08lx\n", hr);
|
||||
ok(pUnk == NULL, "CoCreateInstance should have changed the passed in pointer to NULL, instead of %p\n", pUnk);
|
||||
|
||||
OleInitialize(NULL);
|
||||
|
@ -97,7 +97,7 @@ static void test_CoCreateInstance(void)
|
|||
OleUninitialize();
|
||||
|
||||
hr = CoCreateInstance(rclsid, NULL, CLSCTX_INPROC_SERVER, &IID_IUnknown, (void **)&pUnk);
|
||||
ok(hr == CO_E_NOTINITIALIZED, "CoCreateInstance should have return CO_E_NOTINITIALIZED instead of 0x%08lx", hr);
|
||||
ok(hr == CO_E_NOTINITIALIZED, "CoCreateInstance should have returned CO_E_NOTINITIALIZED instead of 0x%08lx\n", hr);
|
||||
}
|
||||
|
||||
START_TEST(compobj)
|
||||
|
|
|
@ -483,7 +483,7 @@ static void test_TM_PLAINTEXT()
|
|||
/*Compare the two formattings. They should be the same.*/
|
||||
|
||||
ok((cf2.dwMask == cf2test.dwMask) && (cf2.dwEffects == cf2test.dwEffects),
|
||||
"Copied text retained formatting - cf2.dwMask: %f, cf2test.dwMask: %f, cf2.dwEffects: %f, cf2test.dwEffects: %f",
|
||||
"Copied text retained formatting - cf2.dwMask: %f, cf2test.dwMask: %f, cf2.dwEffects: %f, cf2test.dwEffects: %f\n",
|
||||
(double) cf2.dwMask, (double) cf2test.dwMask, (double) cf2.dwEffects, (double) cf2test.dwEffects);
|
||||
DestroyWindow(hwndRichEdit);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue