Answer prose round 1: 0 🔴, 0 🟡 (0 misread); say the copy gets its own repository, shorten the test comment
CI / tests (pull_request) Has been cancelled

This commit is contained in:
2026-12-03 13:25:50 +01:00
parent bd2c971cd3
commit 50dee4e933
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -299,7 +299,7 @@ class BenchTest(unittest.TestCase):
self.assertEqual(subprocess.run(["git", "status", "--porcelain"], cwd=tree, env=self.env, check=True, capture_output=True, text=True).stdout, "")
def test_tests_that_call_git_run_in_a_repository_at_each_side(self):
# The sides' trees come from `git archive`, which leaves out `.git`; `git ls-files` exits 128 in a tree that isn't a repository.
# `git ls-files` fails in a tree that isn't a repository.
found = self.bench(**{"--test": "git ls-files --error-unmatch calc.go >/dev/null && sh calc_test.go"})
self.assertNotIsInstance(found, Failure, found)