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 7bebb3a
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 17 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 7bebb3a

Please sign in to comment.