gdi32/tests: Make sure to use return value (LLVM/Clang).
This commit is contained in:
parent
8b305ccbd3
commit
b667582a71
|
@ -89,6 +89,7 @@ static void test_widenpath(void)
|
||||||
Polyline(hdc, pnt, 6);
|
Polyline(hdc, pnt, 6);
|
||||||
EndPath(hdc);
|
EndPath(hdc);
|
||||||
ret = WidenPath(hdc);
|
ret = WidenPath(hdc);
|
||||||
|
ok(ret == TRUE, "WidenPath failed: %d", GetLastError());
|
||||||
nSize = GetPath(hdc, NULL, NULL, 0);
|
nSize = GetPath(hdc, NULL, NULL, 0);
|
||||||
ok(nSize > 6, "WidenPath should compute a widdened path with a 1px wide pen. Path length is %d, should be more than 6\n", nSize);
|
ok(nSize > 6, "WidenPath should compute a widdened path with a 1px wide pen. Path length is %d, should be more than 6\n", nSize);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue