Comment on how to run ignored tests.
This commit is contained in:
parent
e17751a992
commit
9e4b97e2e5
@ -5,12 +5,11 @@ use std::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
use itertools::Itertools;
|
use itertools::Itertools;
|
||||||
|
use notmuch::{Notmuch, NotmuchError, SearchSummary, ThreadSet};
|
||||||
use rayon::iter::{ParallelBridge, ParallelIterator};
|
use rayon::iter::{ParallelBridge, ParallelIterator};
|
||||||
|
|
||||||
use notmuch::{Notmuch, NotmuchError, SearchSummary, ThreadSet};
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore] // it is too expensive
|
#[ignore] // it is too expensive, run with `cargo test -- --ignored`
|
||||||
fn parse_one() -> Result<(), Box<dyn Error>> {
|
fn parse_one() -> Result<(), Box<dyn Error>> {
|
||||||
// take_hook() returns the default hook in case when a custom one is not set
|
// take_hook() returns the default hook in case when a custom one is not set
|
||||||
let orig_hook = std::panic::take_hook();
|
let orig_hook = std::panic::take_hook();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user