Answer architecture round 1: 0 🔴, 2 🟡; fail on a mark over a live release, pin the second run's reason wording, state the target is for the reader

This commit is contained in:
2026-10-18 09:35:44 +02:00
parent ac33c733c7
commit 28a3f9c5e9
6 changed files with 17 additions and 5 deletions
+2
View File
@@ -486,6 +486,8 @@ class Standing(unittest.TestCase):
self.assertIsInstance(failed, Failure)
self.assertIn("## Renamed", failed.reason)
self.assertIsInstance(rank_todo.rank(TODO + "\n## Renamed\n\n- 0.2.1 renamed to 0.3.0\n", README, DECISIONS), rank_todo.Ranked)
live = rank_todo.rank(TODO + "\n## Renamed\n\n- 0.2.0 renamed to 0.3.0\n", README, DECISIONS)
self.assertEqual(live, Failure("todo.md marks release 0.2.0 renamed but files item 1 under it; drop the mark or move the item"))
class Main(unittest.TestCase):