Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ That file is normally called `src/main.rs` for executables and
```

This will make stainless available when you run the tests using `cargo
test`.
test`.
When using stainless only with a library, make sure to run tests using
`cargo test --lib`.

Expand Down Expand Up @@ -146,7 +146,8 @@ mod tests {

describe! stainless {
it "can use HashMap" {
let map = HashMap::new();
let mut map = HashMap::new();
map.insert("key", "value");
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@
//!
//! describe! stainless {
//! it "can use HashMap" {
//! let map = HashMap::new();
//! let mut map = HashMap::new();
//! map.insert("key", "value");
//! }
//! }
//! }
Expand Down