forge
Explore
Log in

Don't you dare go Hollow

The subtitle round-trip reads the version the writer writes

Browse files at this commit

c109992d2378500ecb44039e7d048e0ed2783131Ahmet Kaan GümüşParent: 610e3b6
  • fix
    • the subtitle round-trip reads the version the writer writes
Show full message
🩹 fix(test): the subtitle round-trip reads the version the writer writes

The tone-map preset bumped .edith to v11; this assertion still named
v10 and went red on main.
crates/engine/tests/subtitles.rsmodified+1 -1
@@ -263,7 +263,7 @@ fn a_project_keeps_its_subtitles_across_a_save() {
263 let project = dir.join("cut.edith");263 let project = dir.join("cut.edith");
264 session.save_project(&project).expect("save");264 session.save_project(&project).expect("save");
265 let text = std::fs::read_to_string(&project).expect("read the project back");265 let text = std::fs::read_to_string(&project).expect("read the project back");
266- assert!(text.starts_with("edith 10\n"), "{text}");266+ assert!(text.starts_with("edith 11\n"), "{text}");
267 assert!(267 assert!(
268 text.contains("\nsubtitle - test_subs.srt\n"),268 text.contains("\nsubtitle - test_subs.srt\n"),
269 "the reference is written relative, and no cue is: {text}"269 "the reference is written relative, and no cue is: {text}"