test-lib: parse options in a for loop to keep $@ intact
[gitweb.git] / t / t1600-index.sh
index c4422312f4e482e38172b1ac8b87e29d8708af2e..42962ed7d46f6dafa09c7b276942c32da130e300 100755 (executable)
@@ -41,8 +41,7 @@ test_expect_success 'no warning with bogus GIT_INDEX_VERSION and existing index'
                GIT_INDEX_VERSION=1 &&
                export GIT_INDEX_VERSION &&
                git add a 2>actual.err &&
-               >expect.err &&
-               test_i18ncmp expect.err actual.err
+               test_must_be_empty actual.err
        )
 '