regedit/tests: Test whether "" is interpreted as the default registry value.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2017-06-15 11:58:46 +00:00 committed by Alexandre Julliard
parent c414b2b570
commit 06b0a6d94d

View File

@ -264,8 +264,10 @@ static void test_basic_import(void)
exec_import_str("REGEDIT4\n\n"
"[HKEY_CURRENT_USER\\" KEY_BASE "]\n"
"\"Empty string\"=\"\"\n\n");
"\"Empty string\"=\"\"\n"
"\"\"=\"Default registry value\"\n\n");
verify_reg(hkey, "Empty string", REG_SZ, "", 1, 0);
verify_reg(hkey, NULL, REG_SZ, "Default registry value", 23, 0);
exec_import_str("REGEDIT4\n\n"
"[HKEY_CURRENT_USER\\" KEY_BASE "]\n"