Skip to content

Commit

Permalink
cargo: rustfmt whole project
Browse files Browse the repository at this point in the history
  • Loading branch information
lucab committed Apr 16, 2020
1 parent 63b52ba commit c95c52e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/unit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ mod test {
// escape disallowed
(r#"///..\-!#??///"#, r#"---..\x5c\x2d\x21\x23\x3f\x3f---"#),
// escape real-world example
(r#"user-cloudinit@/var/lib/coreos/vagrant/vagrantfile-user-data.service"#,
r#"user\x2dcloudinit\x40-var-lib-coreos-vagrant-vagrantfile\x2duser\x2ddata.service"#),
(
r#"user-cloudinit@/var/lib/coreos/vagrant/vagrantfile-user-data.service"#,
r#"user\x2dcloudinit\x40-var-lib-coreos-vagrant-vagrantfile\x2duser\x2ddata.service"#,
),
];

for t in cases {
Expand Down

0 comments on commit c95c52e

Please sign in to comment.