kernelbase/tests: Fix a possible test failure.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2019-02-22 10:35:09 +08:00 committed by Alexandre Julliard
parent e441d88262
commit 397c15ab77
1 changed files with 1 additions and 0 deletions

View File

@ -1035,6 +1035,7 @@ static void test_PathCchCanonicalize(void)
ok(hr == E_INVALIDARG, "expect hr %#x, got %#x\n", E_INVALIDARG, hr); ok(hr == E_INVALIDARG, "expect hr %#x, got %#x\n", E_INVALIDARG, hr);
} }
path_inW[0] = 0;
hr = pPathCchCanonicalize(path_outW, 0, path_inW); hr = pPathCchCanonicalize(path_outW, 0, path_inW);
ok(hr == E_INVALIDARG, "expect hr %#x, got %#x\n", E_INVALIDARG, hr); ok(hr == E_INVALIDARG, "expect hr %#x, got %#x\n", E_INVALIDARG, hr);