Skip to content

Commit

Permalink
Account for snapbox API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed May 24, 2024
1 parent c127fff commit 087feca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/expected.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Compiling fixture v0.1.0 ([..]/group-runner/fixture)
Finished test [unoptimized + debuginfo] target(s) in [..]s
Finished `test` profile [unoptimized + debuginfo] target(s) in [..]s
Running unittests src/lib.rs (target/debug/deps/fixture-[..])
warning: environment variable `CI` is unset---are we running on GitHub?
Running tests/integration_one.rs (target/debug/deps/integration_one-[..])
Expand Down
4 changes: 2 additions & 2 deletions tests/snapbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ fn snapbox() {
.output()
.unwrap();
assert!(output.status.success());
snapbox::assert_matches(snapbox::file!("expected.stdout"), output.stdout);
snapbox::assert_matches(snapbox::file!("expected.stderr"), output.stderr);
snapbox::assert_data_eq!(output.stdout, snapbox::file!("expected.stdout"));
snapbox::assert_data_eq!(output.stderr, snapbox::file!("expected.stderr"));
}

0 comments on commit 087feca

Please sign in to comment.