completion: standardize final space marker in tests
[gitweb.git] / t / t4202-log.sh
index bd8335580d0fa02e0c7e1b9b1459cac37050ed44..924ba536ca9718da0f4126d53c316a5f7a1926a5 100755 (executable)
@@ -813,7 +813,14 @@ sanitize_output () {
 test_expect_success 'log --graph with diff and stats' '
        git log --graph --pretty=short --stat -p >actual &&
        sanitize_output >actual.sanitized <actual &&
-       test_cmp expect actual.sanitized
+       test_i18ncmp expect actual.sanitized
+'
+
+test_expect_success 'dotdot is a parent directory' '
+       mkdir -p a/b &&
+       ( echo sixth && echo fifth ) >expect &&
+       ( cd a/b && git log --format=%s .. ) >actual &&
+       test_cmp expect actual
 '
 
 test_done