ref-filter: introduce match_atom_name()
[gitweb.git] / t / t6302-for-each-ref-filter.sh
index 505a3601610be4a18a74cd427b0ae11866aa70c6..c4f0378d4cd25a849d02d28022a1b5d7ff5bf8e7 100755 (executable)
@@ -81,4 +81,8 @@ test_expect_success 'filtering with --contains' '
        test_cmp expect actual
 '
 
+test_expect_success '%(color) must fail' '
+       test_must_fail git for-each-ref --format="%(color)%(refname)"
+'
+
 test_done