diff --git a/tests/test_cli.py b/tests/test_cli.py index 3005b21..276ea31 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -3406,6 +3406,9 @@ "ok.txt ", "ok.txt:stream", ] + # Linux では,絶対パスの 3 つの書き方が同じ文字列になる.同じ相対パスが 2 回出る出力は + # 解析が拒否するので(別のテストで確かめている),重なりを除いてから並べる + bad = list(dict.fromkeys(bad)) entries = [raw_file_record(size, digest, prefix + rel) for rel in bad] _clean_fake(monkeypatch, clean_output(entries)) opened: list[Path] = []