Skip to content

Commit

Permalink
remove escapes and leading whitespace from string matches
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-crespo committed Jun 8, 2023
1 parent f07753d commit 56318e0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions tests/testsuite/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3670,12 +3670,14 @@ fn different_user_relative_submodules() {
project
.cargo("build")
.with_stderr(&format!(
"[UPDATING] git repository `{}`\n\
[UPDATING] git submodule `{}`\n\
[UPDATING] git submodule `{}`\n\
[COMPILING] dep1 v0.5.0 ({}#[..])\n\
[COMPILING] foo v0.5.0 ([CWD])\n\
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]\n",
"\
[UPDATING] git repository `{}`
[UPDATING] git submodule `{}`
[UPDATING] git submodule `{}`
[COMPILING] dep1 v0.5.0 ({}#[..])
[COMPILING] foo v0.5.0 ([CWD])
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
",
path2url(&user1_git_project.root()),
path2url(&user2_git_project.root()),
path2url(&user2_git_project2.root()),
Expand Down

0 comments on commit 56318e0

Please sign in to comment.