Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Dubrov committed Jul 2, 2019
2 parents f56a78c + 3c0ee19 commit d46040b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ fn render_data_test(desc: &DataTestDesc, rendered: &mut Vec<TestDescAndFn>) {
};

let testfn = match case.case {
DataTestFn::TestFn(testfn) => TestFn::DynTestFn(testfn),
DataTestFn::TestFn(testfn) => TestFn::DynTestFn(Box::new(|| testfn())),
DataTestFn::BenchFn(benchfn) => TestFn::DynBenchFn(benchfn),
};

Expand Down

0 comments on commit d46040b

Please sign in to comment.