From 397c15ab77bf3c0afd1fff9813ee16d62230db61 Mon Sep 17 00:00:00 2001 From: Zhiyi Zhang Date: Fri, 22 Feb 2019 10:35:09 +0800 Subject: [PATCH] kernelbase/tests: Fix a possible test failure. Signed-off-by: Zhiyi Zhang Signed-off-by: Alexandre Julliard --- dlls/kernelbase/tests/path.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/kernelbase/tests/path.c b/dlls/kernelbase/tests/path.c index 7644c312b7c..b5da3036296 100644 --- a/dlls/kernelbase/tests/path.c +++ b/dlls/kernelbase/tests/path.c @@ -1035,6 +1035,7 @@ static void test_PathCchCanonicalize(void) ok(hr == E_INVALIDARG, "expect hr %#x, got %#x\n", E_INVALIDARG, hr); } + path_inW[0] = 0; hr = pPathCchCanonicalize(path_outW, 0, path_inW); ok(hr == E_INVALIDARG, "expect hr %#x, got %#x\n", E_INVALIDARG, hr);