Skip to content

Commit

Permalink
Merge pull request #95 from nordzilla/clarify-doc-test
Browse files Browse the repository at this point in the history
Clarify query_param doc test
  • Loading branch information
alexliesenfeld authored Jan 5, 2024
2 parents 4d86e96 + ef438a8 commit 1d87cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ impl When {
/// let server = MockServer::start();
///
/// let m = server.mock(|when, then|{
/// when.query_param("query", "Metallica");
/// when.query_param("query", "Metallica is cool");
/// then.status(200);
/// });
///
/// // Act
/// get(server.url("/search?query=Metallica")).unwrap();
/// get(server.url("/search?query=Metallica+is+cool")).unwrap();
///
/// // Assert
/// m.assert();
Expand Down

0 comments on commit 1d87cdf

Please sign in to comment.