Answer principles round 2: 0 🔴, 0 🟡; approved, file item 221 and fix two blank-line nits

This commit is contained in:
2026-10-23 05:09:15 +02:00
parent 92afe2ac08
commit 6733615e1c
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -46,6 +46,7 @@ class Verbatim(unittest.TestCase):
self.assertFalse(transcript.verbatim("Merge ... squash.", "Merge ff-only.\nNever squash."))
self.assertFalse(transcript.verbatim("", "Merge ff-only."))
class FirstTimestampedLine(unittest.TestCase):
def test_skips_the_lines_every_chunk_shares_and_else_takes_the_first(self):
self.assertEqual(transcript.first_timestamped_line(b'{"type": "custom-title"}\nnot JSON\n{"timestamp": "t"}\n{"timestamp": "u"}\n'), b'{"timestamp": "t"}')