Skip to content

Commit

Permalink
fix: add read_value test to Cargo.toml
Browse files Browse the repository at this point in the history
I've completely forgotten how to add an integration test...
  • Loading branch information
statiolake committed Apr 29, 2024
1 parent acf59fa commit 648b2b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions proconio/Cargo.toml
Expand Up @@ -18,6 +18,11 @@ name = "stdin"
path = "tests/stdin.rs"
harness = false

[[test]]
name = "read_value"
path = "tests/read_value.rs"
harness = false

[[test]]
name = "interactive"
path = "tests/interactive.rs"
Expand Down
1 change: 0 additions & 1 deletion proconio/tests/read_value.rs
Expand Up @@ -18,7 +18,6 @@ fn test_stdin() {
fn test_for(input: &str, expected_stdout: &str) {
use assert_cli::Assert;
use std::env::args;
println!("{:?}", args().next().unwrap());
Assert::command(&[&*args().next().unwrap(), "foo"])
.stdin(input)
.stdout()
Expand Down

0 comments on commit 648b2b5

Please sign in to comment.