Commit 19f58e88 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

kernel32/tests: Make sure return values are used (LLVM/Clang).

parent 94f63d76
...@@ -146,6 +146,8 @@ static void test_profile_string(void) ...@@ -146,6 +146,8 @@ static void test_profile_string(void)
ret=GetPrivateProfileStringW(emptyW, keyW, emptyW, bufW, ret=GetPrivateProfileStringW(emptyW, keyW, emptyW, bufW,
sizeof(bufW)/sizeof(bufW[0]), TESTFILE2W); sizeof(bufW)/sizeof(bufW[0]), TESTFILE2W);
todo_wine todo_wine
ok(ret == 13, "expected 13, got %u\n", ret);
todo_wine
ok(!lstrcmpW(valsectionW,bufW), "expected %s, got %s\n", ok(!lstrcmpW(valsectionW,bufW), "expected %s, got %s\n",
wine_dbgstr_w(valsectionW), wine_dbgstr_w(bufW) ); wine_dbgstr_w(valsectionW), wine_dbgstr_w(bufW) );
...@@ -153,6 +155,8 @@ static void test_profile_string(void) ...@@ -153,6 +155,8 @@ static void test_profile_string(void)
ret=GetPrivateProfileStringW(sW, emptyW, emptyW, bufW, ret=GetPrivateProfileStringW(sW, emptyW, emptyW, bufW,
sizeof(bufW)/sizeof(bufW[0]), TESTFILE2W); sizeof(bufW)/sizeof(bufW[0]), TESTFILE2W);
todo_wine todo_wine
ok(ret == 10, "expected 10, got %u\n", ret);
todo_wine
ok(!lstrcmpW(valnokeyW,bufW), "expected %s, got %s\n", ok(!lstrcmpW(valnokeyW,bufW), "expected %s, got %s\n",
wine_dbgstr_w(valnokeyW), wine_dbgstr_w(bufW) ); wine_dbgstr_w(valnokeyW), wine_dbgstr_w(bufW) );
......
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