Skip to content

Commit

Permalink
Refactor feature configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alexliesenfeld committed Aug 31, 2024
1 parent 6e7fc21 commit 9a4b6d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</div>

<p align="center">
<a href="https://alexliesenfeld.github.io/httpmock/">Online Documentation</a>
<a href="https://alexliesenfeld.github.io/httpmock/">Documentation</a>
·
<a href="https://docs.rs/httpmock/">API Reference</a>
·
Expand Down
6 changes: 3 additions & 3 deletions tests/examples/record_and_playback_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn record_with_forwarding_test() {
}

// @example-start: record-proxy-github
#[cfg(all(feature = "proxy", feature = "record", feature = "experimental"))]
#[cfg(all(feature = "proxy", feature = "experimental"))]
#[test]
fn record_with_proxy_test() {
// Start a mock server to act as a proxy for the HTTP client
Expand Down Expand Up @@ -91,7 +91,7 @@ fn record_with_proxy_test() {
// @example-end

// @example-start: record-forwarding-github
#[cfg(all(feature = "proxy", feature = "record"))]
#[cfg(feature = "record")]
#[test]
fn record_github_api_with_forwarding_test() {
// Let's create our mock server for the test
Expand Down Expand Up @@ -146,7 +146,7 @@ fn record_github_api_with_forwarding_test() {
// @example-end

// @example-start: playback-forwarding-github
#[cfg(all(feature = "proxy", feature = "record"))]
#[cfg(feature = "record")]
#[test]
fn playback_github_api() {
// Start a mock server for the test
Expand Down

0 comments on commit 9a4b6d9

Please sign in to comment.