diff options
Diffstat (limited to 't/t3700-add.sh')
-rwxr-xr-x | t/t3700-add.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/t3700-add.sh b/t/t3700-add.sh index 05379d0a4a..6357d6e74e 100755 --- a/t/t3700-add.sh +++ b/t/t3700-add.sh @@ -332,9 +332,8 @@ test_expect_success 'git add --dry-run --ignore-missing of non-existing file out test_i18ncmp expect.err actual.err ' -test_expect_success 'git add empty string should invoke warning' ' - git add "" 2>output && - test_i18ngrep "warning: empty strings" output +test_expect_success 'git add empty string should fail' ' + test_must_fail git add "" ' test_done |