Refuse a register entry that is no regular file, and say data source in what task-bench prints

This commit is contained in:
2026-11-23 19:49:22 +01:00
parent c798278406
commit 44c0f13883
11 changed files with 94 additions and 63 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ class RecordFiguresTest(unittest.TestCase):
self.assertTrue(entry.startswith(f"## 1970-01-01T00:00:00Z, {name}\n\n| Feature | Side |"))
def test_names_a_bench_of_data_sources_as_one(self):
name, _ = bench_entry(DIGEST.replace("| Bug |", "| Data-source |"), "item-7", 0)
name, _ = bench_entry(DIGEST.replace("| Bug |", "| Data source |"), "item-7", 0)
self.assertEqual(name, "task-bench data-sources of item-7: head bbbbbbbb against base aaaaaaaa")
def test_refuses_a_digest_without_its_commits_or_without_its_three_rows_over_every_bug(self):