Answer product-owner round 1: 0 🔴, 1 🟡 (0 misread); 0 🔴, 1 🟡 (0 misread); say the indentation fact counts the first 200 code files, and add mutate-changes' changelog entry

This commit is contained in:
2026-12-02 00:04:00 +01:00
parent 6a5eaa6c1f
commit 509f2f9f4a
5 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -810,7 +810,7 @@ class IndentationFact(unittest.TestCase):
def test_names_the_counts_the_principle_and_the_two_ways_out(self):
(line,) = self.said(SpaceIndented(spaced=120, tabbed=3))
self.assertIn("space-indented (120 lines against 3 with tabs)", line)
self.assertIn("space-indented (120 lines against 3 with tabs, in the first 200 code files git lists)", line)
self.assertIn("under “Indent with hard tabs by default”", line)
self.assertIn("file one: convert the code to tabs, or record the override in `.editorconfig` and a decision", line)
@@ -826,7 +826,7 @@ class IndentationFact(unittest.TestCase):
spaced.commit(spaced.root, "spaces")
done = spaced.preflight()
self.assertEqual(done.returncode, 0, done.stderr)
self.assertIn("- The project's code is space-indented (2 lines against 0 with tabs)", done.stdout)
self.assertIn("- The project's code is space-indented (2 lines against 0 with tabs, in the first 200 code files git lists)", done.stdout)
spaced.write(spaced.root, ".editorconfig", "[*]\nindent_style = space\n")
spaced.commit(spaced.root, "setting")
self.assertNotIn("space-indented", spaced.preflight().stdout)