]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0040-parse-options.sh
Merge branch 'ab/detox-gettext-tests'
[thirdparty/git.git] / t / t0040-parse-options.sh
index 14cafc138b7875013afeee01d74dbbeb2e56d495..ad4746d899a48b6eef46f7690d291c0ec6411d5b 100755 (executable)
@@ -61,7 +61,7 @@ EOF
 test_expect_success 'test help' '
        test_must_fail test-tool parse-options -h >output 2>output.err &&
        test_must_be_empty output.err &&
-       test_i18ncmp expect output
+       test_cmp expect output
 '
 
 mv expect expect.err
@@ -84,7 +84,7 @@ check_unknown_i18n() {
        cat expect.err >>expect &&
        test_must_fail test-tool parse-options $* >output 2>output.err &&
        test_must_be_empty output &&
-       test_i18ncmp expect output.err
+       test_cmp expect output.err
 }
 
 test_expect_success 'OPT_BOOL() #1' 'check boolean: 1 --yes'
@@ -250,7 +250,7 @@ EOF
 test_expect_success 'detect possible typos' '
        test_must_fail test-tool parse-options -boolean >output 2>output.err &&
        test_must_be_empty output &&
-       test_i18ncmp typo.err output.err
+       test_cmp typo.err output.err
 '
 
 cat >typo.err <<\EOF
@@ -260,7 +260,7 @@ EOF
 test_expect_success 'detect possible typos' '
        test_must_fail test-tool parse-options -ambiguous >output 2>output.err &&
        test_must_be_empty output &&
-       test_i18ncmp typo.err output.err
+       test_cmp typo.err output.err
 '
 
 test_expect_success 'keep some options as arguments' '