| 590 | } |
| 591 | |
| 592 | fn normalize_prqlc(cmd: &mut Command) -> &mut Command { |
| 593 | cmd |
| 594 | // We set `CLICOLOR_FORCE` in CI to force color output, but we don't want `prqlc` to |
| 595 | // output color for our snapshot tests. And it seems to override the |
| 596 | // `--color=never` flag. |
| 597 | .env_remove("CLICOLOR_FORCE") |
| 598 | .env("NO_COLOR", "1") |
| 599 | .args(["--color=never"]) |
| 600 | // We don't want the tests to be affected by the user's `RUST_BACKTRACE` setting. |
| 601 | .env_remove("RUST_BACKTRACE") |
| 602 | .env_remove("RUST_LOG") |
| 603 | } |
| 604 | |
| 605 | #[test] |
| 606 | fn compile_no_prql_files() { |