Commit 4f1a8da1 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

dwrite/tests: Use todo_wine_if() in tests.

parent bd111803
......@@ -2057,9 +2057,7 @@ todo_wine
if (metrics[i].isSoftHyphen)
ok(!metrics[i].isWhitespace, "%u: got %d\n", i, metrics[i].isWhitespace);
if (metrics[i].isNewline) {
if (i == 17 || i == 19)
todo_wine ok(metrics[i].width == 0.0f, "%u: got width %f\n", i, metrics[i].width);
else
todo_wine_if (i == 17 || i == 19)
ok(metrics[i].width == 0.0f, "%u: got width %f\n", i, metrics[i].width);
ok(metrics[i].isWhitespace == 1, "%u: got %d\n", i, metrics[i].isWhitespace);
ok(metrics[i].canWrapLineAfter == 1, "%u: got %d\n", i, metrics[i].canWrapLineAfter);
......
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