mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Simplify parameterized reference handling
This commit is contained in:
1 parent
f7429e2fb2
commit
463a889638
8 files changed
+210
-693
No files matched your search
@@ -383,24 +383,6 @@ fn reference_is_executed_first() {
|
||||
.run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parameterized_reference_keeps_parameter_order() {
|
||||
ExecutionOrderTest::new()
|
||||
.arg("--runs=2")
|
||||
.reference("command 2")
|
||||
.arg("--parameter-list")
|
||||
.arg("number")
|
||||
.arg("1,2,3")
|
||||
.command("command {number}")
|
||||
.expect_output("command 1")
|
||||
.expect_output("command 1")
|
||||
.expect_output("command 2")
|
||||
.expect_output("command 2")
|
||||
.expect_output("command 3")
|
||||
.expect_output("command 3")
|
||||
.run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn reference_is_executed_separately_from_commands() {
|
||||
ExecutionOrderTest::new()
|
||||
|
||||
Reference in new issue
Block a user