mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-13 01:41:18 +00:00
fix(test): reload tests pin the English interface like every other harness (#2239)
unsaved_changes_are_kept_until_reload_is_chosen looked for the English notice while the app followed the developer's system language (Auto), so it failed on a non-English Windows. Co-authored-by: abc2cb <271337822+abc2cb@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>
This commit is contained in:
1 file changed
+2
@@ -80,6 +80,8 @@ fn harness(path: &str) -> Harness<'static, PdfCraftApp> {
|
||||
app.set_option("language", "en").unwrap();
|
||||
// The labels looked for are English, whatever the machine's language.
|
||||
app.set_option("language", "en").unwrap();
|
||||
// The labels below are English whatever the developer's system language is.
|
||||
app.set_option("language", "en").unwrap();
|
||||
app.run_inline = true;
|
||||
app.open_path(&path);
|
||||
app
|
||||
|
||||
Reference in new issue
Block a user