Francois Gouget : msvcp140/tests: Fix a typo in a variable name.
Alexandre Julliard
julliard at winehq.org
Mon Jul 24 15:51:19 CDT 2017
Module: wine
Branch: master
Commit: 4a463fae50afcfadf5cf70da5ee4a55c219fa073
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4a463fae50afcfadf5cf70da5ee4a55c219fa073
Author: Francois Gouget <fgouget at free.fr>
Date: Sat Jul 22 12:21:40 2017 +0200
msvcp140/tests: Fix a typo in a variable name.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msvcp140/tests/msvcp140.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/msvcp140/tests/msvcp140.c b/dlls/msvcp140/tests/msvcp140.c
index 94f87dc..8252865 100644
--- a/dlls/msvcp140/tests/msvcp140.c
+++ b/dlls/msvcp140/tests/msvcp140.c
@@ -864,7 +864,7 @@ static void test_dir_operation(void)
WCHAR f2W[] = {'f','2',0};
WCHAR sub_dirW[] = {'s','u','b','_','d','i','r',0};
WCHAR not_existW[] = {'n','o','t','_','e','x','i','s','t',0};
- WCHAR emtpy_dirW[] = {'e','m','p','t','y','_','d','i','r',0};
+ WCHAR empty_dirW[] = {'e','m','p','t','y','_','d','i','r',0};
memset(origin_path, 0, sizeof(origin_path));
memset(origin_path, 0, sizeof(temp_path));
@@ -939,11 +939,11 @@ static void test_dir_operation(void)
ok((int)type == 0xdeadbeef, "_Open_dir(): expect: 0xdeadbeef, got %d\n", type);
ok(!*first_file_name, "_Open_dir(): expect: 0, got %s\n", wine_dbgstr_w(first_file_name));
- CreateDirectoryW(emtpy_dirW, NULL);
+ CreateDirectoryW(empty_dirW, NULL);
memset(first_file_name, 0, sizeof(first_file_name));
err = type = 0xdeadbeef;
result_handle = file;
- result_handle = p_Open_dir(first_file_name, emtpy_dirW, &err, &type);
+ result_handle = p_Open_dir(first_file_name, empty_dirW, &err, &type);
ok(result_handle == NULL, "_Open_dir(): expect: NULL, got %p\n", result_handle);
ok(err == ERROR_SUCCESS, "_Open_dir(): expect: ERROR_SUCCESS, got %d\n", err);
ok(type == status_unknown, "_Open_dir(): expect: status_unknown, got %d\n", type);
@@ -951,7 +951,7 @@ static void test_dir_operation(void)
p_Close_dir(result_handle);
ok(result_handle == NULL, "_Open_dir(): expect: NULL, got %p\n", result_handle);
- ok(RemoveDirectoryW(emtpy_dirW), "expect empty_dir to exist\n");
+ ok(RemoveDirectoryW(empty_dirW), "expect empty_dir to exist\n");
ok(DeleteFileW(test_sub_dir_f1W), "expect wine_test_dir/sub_dir/sub_f1 to exist\n");
ok(RemoveDirectoryW(test_sub_dirW), "expect wine_test_dir/sub_dir to exist\n");
ok(DeleteFileW(test_f1W), "expect wine_test_dir/f1 to exist\n");
More information about the wine-cvs
mailing list