Module: wine Branch: master Commit: 8ecc0d41ca00e762ad22e9abddbce35caacfea19 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ecc0d41ca00e762ad22e9abdd... Author: Hugh McMaster <hugh.mcmaster(a)outlook.com> Date: Fri Oct 13 08:14:08 2017 +0000 regedit/tests: Add REG_NONE to the empty hex data import tests. Signed-off-by: Hugh McMaster <hugh.mcmaster(a)outlook.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- programs/regedit/tests/regedit.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/programs/regedit/tests/regedit.c b/programs/regedit/tests/regedit.c index 64793b7..babea53 100644 --- a/programs/regedit/tests/regedit.c +++ b/programs/regedit/tests/regedit.c @@ -659,7 +659,8 @@ static void test_basic_import(void) "\"Wine22e\"=hex(7):\n" "\"Wine22f\"=hex(100):\n" "\"Wine22g\"=hex(abcd):\n" - "\"Wine22h\"=hex:\n\n"); + "\"Wine22h\"=hex:\n" + "\"Wine22i\"=hex(0):\n\n"); verify_reg(hkey, "Wine22a", REG_SZ, NULL, 0, 0); verify_reg(hkey, "Wine22b", REG_EXPAND_SZ, NULL, 0, TODO_REG_SIZE); verify_reg(hkey, "Wine22c", REG_BINARY, NULL, 0, 0); @@ -668,6 +669,7 @@ static void test_basic_import(void) verify_reg(hkey, "Wine22f", 0x100, NULL, 0, 0); verify_reg(hkey, "Wine22g", 0xabcd, NULL, 0, 0); verify_reg(hkey, "Wine22h", REG_BINARY, NULL, 0, 0); + verify_reg(hkey, "Wine22i", REG_NONE, NULL, 0, 0); RegCloseKey(hkey); @@ -1072,7 +1074,8 @@ static void test_basic_import_unicode(void) "\"Wine22e\"=hex(7):\n" "\"Wine22f\"=hex(100):\n" "\"Wine22g\"=hex(abcd):\n" - "\"Wine22h\"=hex:\n\n"); + "\"Wine22h\"=hex:\n" + "\"Wine22i\"=hex(0):\n\n"); verify_reg(hkey, "Wine22a", REG_SZ, NULL, 0, 0); verify_reg(hkey, "Wine22b", REG_EXPAND_SZ, NULL, 0, TODO_REG_SIZE); verify_reg(hkey, "Wine22c", REG_BINARY, NULL, 0, 0); @@ -1081,6 +1084,7 @@ static void test_basic_import_unicode(void) verify_reg(hkey, "Wine22f", 0x100, NULL, 0, 0); verify_reg(hkey, "Wine22g", 0xabcd, NULL, 0, 0); verify_reg(hkey, "Wine22h", REG_BINARY, NULL, 0, 0); + verify_reg(hkey, "Wine22i", REG_NONE, NULL, 0, 0); RegCloseKey(hkey);