Hugh McMaster : regedit/tests: Add another test for "0x" prefixes in the hex data type.
Alexandre Julliard
julliard at winehq.org
Thu Jul 6 16:25:17 CDT 2017
Module: wine
Branch: master
Commit: 3afa0e42c847cdf61b4b98eaeb4cf6b5418939d3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3afa0e42c847cdf61b4b98eaeb4cf6b5418939d3
Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date: Thu Jul 6 11:18:10 2017 +0000
regedit/tests: Add another test for "0x" prefixes in the hex data type.
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/regedit/tests/regedit.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/programs/regedit/tests/regedit.c b/programs/regedit/tests/regedit.c
index dad482e..c1dc01a 100644
--- a/programs/regedit/tests/regedit.c
+++ b/programs/regedit/tests/regedit.c
@@ -457,7 +457,8 @@ static void test_basic_import(void)
"\"Wine13h\"=hex(ffffffff):56,61,6c,75,65,00\n"
"\"Wine13i\"=hex(100000000):56,61,6c,75,65,00\n"
"\"Wine13j\"=hex(0x2):56,61,6c,75,65,00\n"
- "\"Wine13k\"=hex(x2):56,61,6c,75,65,00\n\n");
+ "\"Wine13k\"=hex(0X2):56,61,6c,75,65,00\n"
+ "\"Wine13l\"=hex(x2):56,61,6c,75,65,00\n\n");
verify_reg(hkey, "Wine13a", REG_NONE, "Value", 6, 0);
verify_reg(hkey, "Wine13b", 0x10, "Value", 6, 0);
verify_reg(hkey, "Wine13c", 0x100, "Value", 6, 0);
@@ -469,6 +470,7 @@ static void test_basic_import(void)
verify_reg_nonexist(hkey, "Wine13i");
verify_reg_nonexist(hkey, "Wine13j");
verify_reg_nonexist(hkey, "Wine13k");
+ verify_reg_nonexist(hkey, "Wine13l");
exec_import_str("REGEDIT4\n\n"
"[HKEY_CURRENT_USER\\" KEY_BASE "]\n"
More information about the wine-cvs
mailing list