Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 15 lines 464 B view raw
1diff --git a/crates/cli/tests/ui_with_dbt.rs b/crates/cli/tests/ui_with_dbt.rs 2index d71a26c1..4d4ffe4f 100644 3--- a/crates/cli/tests/ui_with_dbt.rs 4+++ b/crates/cli/tests/ui_with_dbt.rs 5@@ -3,6 +3,10 @@ use std::path::PathBuf; 6 use assert_cmd::Command; 7 use expect_test::expect_file; 8 9+#[cfg(not(feature = "python"))] 10+fn main() {} 11+ 12+#[cfg(feature = "python")] 13 fn main() { 14 let sample_dbt_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")) 15 .parent()