Skip to content

Commit

Permalink
Fix emit tests - replace stdout_matches with stdout_eq
Browse files Browse the repository at this point in the history
  • Loading branch information
maciektr committed Nov 24, 2023
1 parent 6868661 commit 0b8881f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scarb/tests/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fn simple_emit_invalid() {
.current_dir(&t)
.assert()
.failure()
.stdout_matches(format!(
.stdout_eq(format!(
"{}:\n{}\n",
fsx::canonicalize(t.child("src/lib.cairo"))
.unwrap()
Expand Down Expand Up @@ -337,7 +337,7 @@ fn workspace_emit_with_root() {
.current_dir(&t)
.assert()
.failure()
.stdout_matches(format!(
.stdout_eq(format!(
"{}:\n{}\n",
fsx::canonicalize(t.child("src/lib.cairo"))
.unwrap()
Expand All @@ -357,7 +357,7 @@ fn workspace_emit_with_root() {
.current_dir(&t)
.assert()
.failure()
.stdout_matches(format!(
.stdout_eq(format!(
"{}:\n{}\n{}:\n{}\n{}:\n{}\n",
fsx::canonicalize(t.child("first/src/lib.cairo"))
.unwrap()
Expand Down

0 comments on commit 0b8881f

Please sign in to comment.