Skip to content

Commit

Permalink
chore: Partial revert of ff2fd24
Browse files Browse the repository at this point in the history
  • Loading branch information
Techassi committed Oct 2, 2024
1 parent 7dbd4d0 commit b44d8fa
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions crates/stackable-versioned-macros/tests/trybuild.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,30 @@
// again but before running tests, otherwise compilation will fail (as expected).
#[allow(dead_code)]
mod default {
// mod deprecate;
// mod skip_from_all;
// mod skip_from_version;
// mod fail {
// mod deprecate;
// mod skip_from_all;
// mod skip_from_version;
// }
}

#[test]
fn default_macros() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/default/*.rs");
t.compile_fail("tests/default/fail/*.rs");
}

#[cfg(feature = "k8s")]
#[allow(dead_code)]
mod k8s {
// mod crd;
// mod fail {
// mod crd;
// }
}

#[cfg(feature = "k8s")]
#[test]
fn k8s_macros() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/k8s/*.rs");
t.compile_fail("tests/k8s/fail/*.rs");
}

0 comments on commit b44d8fa

Please sign in to comment.