Skip to content

Commit

Permalink
disable with all-features
Browse files Browse the repository at this point in the history
  • Loading branch information
pvichivanives committed Oct 14, 2024
1 parent 030cf45 commit 60e7d51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions validator_derive_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ edition = "2021"
[features]
default = ["test_ui"]
test_ui = []
nightly = []

[dev-dependencies]
validator = { version = "0.18", path = "../validator", features = [
Expand Down
1 change: 1 addition & 0 deletions validator_derive_tests/tests/compile_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#[test]
fn ui() {
let t = trybuild::TestCases::new();
#[cfg(not(feature = "nightly"))]
t.compile_fail("tests/compile-fail/**/*.rs");
t.pass("tests/run-pass/**/*.rs");
}

0 comments on commit 60e7d51

Please sign in to comment.