Commit b667582a authored by Austin English's avatar Austin English Committed by Alexandre Julliard

gdi32/tests: Make sure to use return value (LLVM/Clang).

parent 8b305ccb
...@@ -89,6 +89,7 @@ static void test_widenpath(void) ...@@ -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);
......
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