MCPcopy Create free account
hub / github.com/PRQL/prql / normalize_prqlc

Function normalize_prqlc

prqlc/prqlc/src/cli/test.rs:592–603  ·  view source on GitHub ↗
(cmd: &mut Command)

Source from the content-addressed store, hash-verified

590}
591
592fn 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]
606fn compile_no_prql_files() {

Callers 1

prqlc_commandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected