Skip to content

Commit

Permalink
tests: Don't ignore the doc tests, just don't run one of them.
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Jul 16, 2019
1 parent 4e87c2f commit 668e6a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Expand Up @@ -14,14 +14,14 @@
//!
//! Yep — and you only need **one line of code** to make it happen:
//!
//! ```rust,ignore
//! ```rust
//! use pretty_assertions::{assert_eq, assert_ne};
//! ```
//!
//! <details>
//! <summary>Show the example behind the screenshots above.</summary>
//!
//! ```rust,ignore
//! ```rust,no_run
//! // 1. add the `pretty_assertions` dependency to `Cargo.toml`.
//! // 2. insert this line at the top of each module, as needed
//! use pretty_assertions::{assert_eq, assert_ne};
Expand Down Expand Up @@ -50,7 +50,7 @@
//!
//! Also add `#[cfg(test)]` to your `use` statements, like this:
//!
//! ```rust,ignore
//! ```rust
//! #[cfg(test)]
//! use pretty_assertions::{assert_eq, assert_ne};
//! ```
Expand Down

0 comments on commit 668e6a9

Please sign in to comment.