mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
twain_32/tests: Add a trailing '\n' to ok() calls.
This commit is contained in:
parent
71c27c99d4
commit
ad5b8e5d1e
1 changed files with 3 additions and 3 deletions
|
@ -180,7 +180,7 @@ static void test_onevalue_cap(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16
|
||||||
"Error [rc %d|cc %d] doing MSG_QUERYSUPPORT for type 0x%x\n", rc, status.ConditionCode, captype);
|
"Error [rc %d|cc %d] doing MSG_QUERYSUPPORT for type 0x%x\n", rc, status.ConditionCode, captype);
|
||||||
if (rc != TWRC_SUCCESS)
|
if (rc != TWRC_SUCCESS)
|
||||||
return;
|
return;
|
||||||
ok(get_onevalue(cap.hContainer, (TW_UINT32 *) &actual_support, NULL), "Returned cap.hContainer invalid for QuerySupport on type 0x%x", captype);
|
ok(get_onevalue(cap.hContainer, (TW_UINT32 *) &actual_support, NULL), "Returned cap.hContainer invalid for QuerySupport on type 0x%x\n", captype);
|
||||||
ok(actual_support == expected_support,
|
ok(actual_support == expected_support,
|
||||||
"Error: expected support 0x%x for type 0x%x, got 0x%x\n", expected_support,
|
"Error: expected support 0x%x for type 0x%x, got 0x%x\n", expected_support,
|
||||||
captype, actual_support);
|
captype, actual_support);
|
||||||
|
@ -198,7 +198,7 @@ static void test_onevalue_cap(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16
|
||||||
"Error [rc %d|cc %d] doing MSG_GETCURRENT for type 0x%x\n", rc, status.ConditionCode, captype);
|
"Error [rc %d|cc %d] doing MSG_GETCURRENT for type 0x%x\n", rc, status.ConditionCode, captype);
|
||||||
if (rc == TWRC_SUCCESS)
|
if (rc == TWRC_SUCCESS)
|
||||||
{
|
{
|
||||||
ok(get_onevalue(cap.hContainer, &orig_value, &rtype), "Returned cap.hContainer invalid for GETCURRENT on type 0x%x", captype);
|
ok(get_onevalue(cap.hContainer, &orig_value, &rtype), "Returned cap.hContainer invalid for GETCURRENT on type 0x%x\n", captype);
|
||||||
ok(rtype == type, "Returned GETCURRENT type 0x%x for cap 0x%x is not expected 0x%x\n", rtype, captype, type);
|
ok(rtype == type, "Returned GETCURRENT type 0x%x for cap 0x%x is not expected 0x%x\n", rtype, captype, type);
|
||||||
GlobalFree(cap.hContainer);
|
GlobalFree(cap.hContainer);
|
||||||
}
|
}
|
||||||
|
@ -216,7 +216,7 @@ static void test_onevalue_cap(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16
|
||||||
"Error [rc %d|cc %d] doing MSG_GETDEFAULT for type 0x%x\n", rc, status.ConditionCode, captype);
|
"Error [rc %d|cc %d] doing MSG_GETDEFAULT for type 0x%x\n", rc, status.ConditionCode, captype);
|
||||||
if (rc == TWRC_SUCCESS)
|
if (rc == TWRC_SUCCESS)
|
||||||
{
|
{
|
||||||
ok(get_onevalue(cap.hContainer, &default_value, &rtype), "Returned cap.hContainer invalid for GETDEFAULT on type 0x%x", captype);
|
ok(get_onevalue(cap.hContainer, &default_value, &rtype), "Returned cap.hContainer invalid for GETDEFAULT on type 0x%x\n", captype);
|
||||||
ok(rtype == type, "Returned GETDEFAULT type 0x%x for cap 0x%x is not expected 0x%x\n", rtype, captype, type);
|
ok(rtype == type, "Returned GETDEFAULT type 0x%x for cap 0x%x is not expected 0x%x\n", rtype, captype, type);
|
||||||
GlobalFree(cap.hContainer);
|
GlobalFree(cap.hContainer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue