[PATCH] msvcp120/tests: Tweak two ok() messages and fix their spelling.

Francois Gouget fgouget at free.fr
Thu Nov 28 06:28:47 CST 2019


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/msvcp120/tests/msvcp120.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcp120/tests/msvcp120.c b/dlls/msvcp120/tests/msvcp120.c
index d484cdd7ed7..9c3f22a3674 100644
--- a/dlls/msvcp120/tests/msvcp120.c
+++ b/dlls/msvcp120/tests/msvcp120.c
@@ -1444,7 +1444,7 @@ static void test_tr2_sys__Copy_file(void)
         ok(errno == 0xdeadbeef, "test_tr2_sys__Copy_file(): test %d errno expect 0xdeadbeef, got %d\n", i+1, errno);
         if(ret == ERROR_SUCCESS)
             ok(p_tr2_sys__File_size(tests[i].source) == p_tr2_sys__File_size(tests[i].dest),
-                    "test_tr2_sys__Copy_file(): test %d failed, two files' size are not equal\n", i+1);
+                    "test_tr2_sys__Copy_file(): test %d failed, mismatched file sizes\n", i+1);
     }
     ret = p_tr2_sys__Copy_file_wchar(testW, testW2, TRUE);
     ok(ret == ERROR_SUCCESS, "test_tr2_sys__Copy_file_wchar() expect ERROR_SUCCESS, got %d\n", ret);
@@ -1886,7 +1886,7 @@ static void test_tr2_sys__Link(void)
         ok(errno == 0xdeadbeef, "tr2_sys__Link(): test %d errno expect 0xdeadbeef, got %d\n", i+1, errno);
         if(ret == ERROR_SUCCESS)
             ok(p_tr2_sys__File_size(tests[i].existing_path) == p_tr2_sys__File_size(tests[i].new_path),
-                    "tr2_sys__Link(): test %d failed, two files' size are not equal\n", i+1);
+                    "tr2_sys__Link(): test %d failed, mismatched file sizes\n", i+1);
     }
 
     ok(DeleteFileA("f1"), "expect f1 to exist\n");
-- 
2.20.1




More information about the wine-devel mailing list