Code

Disallow the empty string as an attribute name
[git.git] / t / t0003-attributes.sh
index ebbc7554a7d4dce4c2ed33a79f5d4feb3a520f05..8c76b79bb0b9c188763c62824bb9db085cdfa98a 100755 (executable)
@@ -42,6 +42,12 @@ test_expect_success 'setup' '
 
 '
 
+test_expect_success 'command line checks' '
+
+       test_must_fail git check-attr "" -- f
+
+'
+
 test_expect_success 'attribute test' '
 
        attr_check f f &&