diff --git a/programs/reg/tests/reg.c b/programs/reg/tests/reg.c index 1958be0bc3..a813de1728 100644 --- a/programs/reg/tests/reg.c +++ b/programs/reg/tests/reg.c @@ -355,6 +355,9 @@ static void test_add(void) run_reg_exe("reg add HKCU\\" KEY_BASE " /v multi12 /t REG_MULTI_SZ /f /d", &r); ok(r == REG_EXIT_FAILURE, "got exit code %d, expected 1\n", r); + run_reg_exe("reg add HKCU\\" KEY_BASE " /v multi13 /t REG_MULTI_SZ /f /s", &r); + ok(r == REG_EXIT_FAILURE, "got exit code %d, expected 1\n", r); + RegCloseKey(hkey); err = RegDeleteKeyA(HKEY_CURRENT_USER, KEY_BASE);