mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Add the rest of the suggestions from code review
This commit is contained in:
1 parent
bbb59fd7fa
commit
d32b90ee5c
4 files changed
+13
-11
No files matched your search
@@ -219,7 +219,7 @@ fn runs_commands_using_user_defined_shell() {
|
||||
fn can_pass_file_data_to_command_via_stdin() {
|
||||
hyperfine()
|
||||
.arg("--runs=1")
|
||||
.arg("--stdin-data=example_stdin_data")
|
||||
.arg("--input=example_stdin_data")
|
||||
.arg("--show-output")
|
||||
.arg("cat")
|
||||
.assert()
|
||||
@@ -233,7 +233,7 @@ fn can_pass_file_data_to_command_via_stdin() {
|
||||
fn fails_if_invalid_stdin_data_file_provided() {
|
||||
hyperfine()
|
||||
.arg("--runs=1")
|
||||
.arg("--stdin-data=example_stdin_data_invalid")
|
||||
.arg("--input=example_stdin_data_invalid")
|
||||
.arg("--show-output")
|
||||
.arg("cat")
|
||||
.assert()
|
||||
|
||||
Reference in new issue
Block a user