Skip to content

Commit

Permalink
chore: Make test less brittle
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Aug 8, 2024
1 parent 1c8d3d9 commit a9630de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/mock_server_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ fn mock_server_with_no_requests() {

let error = result.unwrap_err();
let error_message = panic_message::panic_message(&error);
expect!(error_message).to(be_equal_to(
"plugin mock server failed verification:\n 1) /com.pact.protobuf.example.Test/GetTest: Did not receive any requests for path '/com.pact.protobuf.example.Test/GetTest'\n"));
expect!(error_message.contains("Test/GetTest: Did not receive any requests for path")).to(be_true());
}

#[test_log::test(tokio::test(flavor = "multi_thread"))]
Expand Down

0 comments on commit a9630de

Please sign in to comment.