The subtitle round-trip reads the version the writer writes
Browse files at this commitc109992d2378500ecb44039e7d048e0ed2783131Parent: 610e3b6- fix
- the subtitle round-trip reads the version the writer writes
1 changed file +1 -1
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}" |