mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 01:00:31 +00:00
Use parameterized benchmarks as references
This commit is contained in:
1 parent
5d501b62f9
commit
f7429e2fb2
13 files changed
+856
-71
No files matched your search
@@ -384,16 +384,14 @@ fn reference_is_executed_first() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn reference_is_executed_first_parameter_value() {
|
||||
fn parameterized_reference_keeps_parameter_order() {
|
||||
ExecutionOrderTest::new()
|
||||
.arg("--runs=2")
|
||||
.reference("reference")
|
||||
.reference("command 2")
|
||||
.arg("--parameter-list")
|
||||
.arg("number")
|
||||
.arg("1,2,3")
|
||||
.command("command {number}")
|
||||
.expect_output("reference")
|
||||
.expect_output("reference")
|
||||
.expect_output("command 1")
|
||||
.expect_output("command 1")
|
||||
.expect_output("command 2")
|
||||
|
||||
Reference in new issue
Block a user