mmdevapi/tests: Fix the spelling of ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
badcda7887
commit
0cab8eb30d
|
@ -111,7 +111,7 @@ static void test_getat(IPropertyStore *store)
|
||||||
hr = IPropertyStore_GetCount(store, &propcount);
|
hr = IPropertyStore_GetCount(store, &propcount);
|
||||||
|
|
||||||
ok(hr == S_OK, "Failed with %08x\n", hr);
|
ok(hr == S_OK, "Failed with %08x\n", hr);
|
||||||
ok(propcount > 0, "Propcount %d should be greather than zero\n", propcount);
|
ok(propcount > 0, "Propcount %d should be greater than zero\n", propcount);
|
||||||
|
|
||||||
for (prop = 0; prop < propcount; prop++) {
|
for (prop = 0; prop < propcount; prop++) {
|
||||||
hr = IPropertyStore_GetAt(store, prop, &pkey);
|
hr = IPropertyStore_GetAt(store, prop, &pkey);
|
||||||
|
|
|
@ -744,7 +744,7 @@ static void test_padding(void)
|
||||||
/* win10 appears not to clear the buffer */
|
/* win10 appears not to clear the buffer */
|
||||||
for(i = 0; i < psize * pwfx->nBlockAlign; ++i){
|
for(i = 0; i < psize * pwfx->nBlockAlign; ++i){
|
||||||
if(buf[i] != silence){
|
if(buf[i] != silence){
|
||||||
ok(0, "buffer has data in it already, i: %u, valu: %f\n", i, *((float*)buf));
|
ok(0, "buffer has data in it already, i: %u, value: %f\n", i, *((float*)buf));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue