Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bheisler committed Jan 18, 2020
1 parent 1528035 commit 72a27c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,10 @@ impl<M: Measurement> Criterion<M> {
/// Disables plotting
pub fn without_plots(mut self) -> Criterion<M> {
self.plotting_enabled = false;
let mut reports: Vec<Box<dyn Report>> = vec![];
reports.push(Box::new(CliReport::new(false, false, false)));
reports.push(Box::new(FileCsvReport));
self.report = Box::new(Reports::new(reports));
self
}

Expand Down

0 comments on commit 72a27c4

Please sign in to comment.