Skip to content

Commit

Permalink
test: Avoid printing output to terminal in test (#4696)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Jul 3, 2024
1 parent 7ad93df commit 08b82a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion prqlc/prqlc/tests/integration/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,12 @@ fn debug() {
// different results, and didn't repro on Mac. It having different results
// makes it difficult to debug, and we get most of the value by just
// checking it runs successfully.
prqlc_command().args(["debug", "ast"]).status().unwrap();
prqlc_command()
.args(["debug", "ast"])
.stdout(std::process::Stdio::null())
.stderr(std::process::Stdio::null())
.status()
.unwrap();
}

#[test]
Expand Down

0 comments on commit 08b82a4

Please sign in to comment.