reg/tests: Output "(Default)" when referring to 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:
parent
fd6442f431
commit
c882a06429
|
@ -88,7 +88,7 @@ static void verify_reg_nonexist_(unsigned line, HKEY hkey, const char *value)
|
|||
|
||||
err = RegQueryValueExA(hkey, value, NULL, NULL, NULL, NULL);
|
||||
lok(err == ERROR_FILE_NOT_FOUND, "registry value '%s' shouldn't exist; got %d, expected 2\n",
|
||||
value, err);
|
||||
(value && *value) ? value : "(Default)", err);
|
||||
}
|
||||
|
||||
#define verify_key_exist(k,s) verify_key_exist_(__LINE__,k,s)
|
||||
|
|
Loading…
Reference in New Issue