Skip to content

Commit 64caaab

Browse files
committed
Remove unused hashes on raw strings
1 parent f19b088 commit 64caaab

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/executable.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ fn biber_no_such_tool() {
403403

404404
command.env("TECTONIC_TEST_FAKE_BIBER", "ohnothereisnobiberprogram");
405405

406-
const REST: &str = r#"\bye"#;
406+
const REST: &str = r"\bye";
407407
let tex = format!("{BIBER_TRIGGER_TEX}{REST}");
408408

409409
command
@@ -431,15 +431,15 @@ fn biber_signal() {
431431

432432
#[test]
433433
fn biber_success() {
434-
const REST: &str = r#"
434+
const REST: &str = r"
435435
\ifsecond
436436
\ifnum\input{biberout.qqq}=456\relax
437437
a
438438
\else
439439
\ohnothebiberdidntwork
440440
\fi
441441
\fi
442-
\bye"#;
442+
\bye";
443443
let tex = format!("{BIBER_TRIGGER_TEX}{REST}");
444444
let output = run_with_biber("success", &tex);
445445
success_or_panic(&output);
@@ -771,14 +771,14 @@ fn v2_dump_suffix() {
771771
writeln!(
772772
file,
773773
"{}", // <= works around {} fussiness in Rust format strings
774-
r#"\newwrite\w
774+
r"\newwrite\w
775775
\immediate\openout\w=first.demo\relax
776776
\immediate\write\w{content-un}
777777
\immediate\closeout\w
778778
\immediate\openout\w=second.demo\relax
779779
\immediate\write\w{content-deux}
780780
\immediate\closeout\w
781-
"#
781+
"
782782
)
783783
.unwrap();
784784
}
@@ -806,15 +806,15 @@ fn v2_dump_suffix() {
806806
assert!(saw_first && saw_second);
807807
}
808808

809-
const SHELL_ESCAPE_TEST_DOC: &str = r#"\immediate\write18{mkdir shellwork}
809+
const SHELL_ESCAPE_TEST_DOC: &str = r"\immediate\write18{mkdir shellwork}
810810
\immediate\write18{echo 123 >shellwork/persist}
811811
\ifnum123=\input{shellwork/persist}
812812
a
813813
\else
814814
\ohnotheshellescapedidntwork
815815
\fi
816816
\bye
817-
"#;
817+
";
818818

819819
/// Test that shell escape actually runs the commands
820820
#[test]

0 commit comments

Comments
 (0)