Skip to content

Commit 56318e0

Browse files
committed
remove escapes and leading whitespace from string matches
1 parent f07753d commit 56318e0

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

tests/testsuite/git.rs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3670,12 +3670,14 @@ fn different_user_relative_submodules() {
36703670
project
36713671
.cargo("build")
36723672
.with_stderr(&format!(
3673-
"[UPDATING] git repository `{}`\n\
3674-
[UPDATING] git submodule `{}`\n\
3675-
[UPDATING] git submodule `{}`\n\
3676-
[COMPILING] dep1 v0.5.0 ({}#[..])\n\
3677-
[COMPILING] foo v0.5.0 ([CWD])\n\
3678-
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]\n",
3673+
"\
3674+
[UPDATING] git repository `{}`
3675+
[UPDATING] git submodule `{}`
3676+
[UPDATING] git submodule `{}`
3677+
[COMPILING] dep1 v0.5.0 ({}#[..])
3678+
[COMPILING] foo v0.5.0 ([CWD])
3679+
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
3680+
",
36793681
path2url(&user1_git_project.root()),
36803682
path2url(&user2_git_project.root()),
36813683
path2url(&user2_git_project2.root()),

0 commit comments

Comments
 (0)