i18n: simplify numeric error reporting
[gitweb.git] / t / t2010-checkout-ambiguous.sh
index 87bdf9c96bfacf4ac921ad9b195db46d9c3b079a..e76e84afbba58f94c600586388f8793b6b6eae84 100755 (executable)
@@ -49,7 +49,7 @@ test_expect_success 'disambiguate checking out from a tree-ish' '
 
 test_expect_success 'accurate error message with more than one ref' '
        test_must_fail git checkout HEAD master -- 2>actual &&
-       grep 2 actual &&
+       test_i18ngrep 2 actual &&
        test_i18ngrep "one reference expected, 2 given" actual
 '