Skip to content

Commit

Permalink
ci: remove too much movement around `compilation_tests/schema_derive_…
Browse files Browse the repository at this point in the history
…invalids.rs`
  • Loading branch information
dj8yf0μl committed Jun 27, 2024
1 parent dadfaed commit 3922ae9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions near-sdk/compilation_tests/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ fn compilation_tests() {
t.pass("compilation_tests/function_error.rs");
t.pass("compilation_tests/enum_near_bindgen.rs");
t.pass("compilation_tests/schema_derive.rs");
if rustversion::cfg!(since(1.72)) {
// The compilation error output has slightly changed in 1.72, so we
// snapshoted this new version
if rustversion::cfg!(since(1.78)) && std::env::consts::OS == "linux" {
// The compilation error output has slightly changed in 1.7x and between platforms,
///so we snapshoted this single version
t.compile_fail("compilation_tests/schema_derive_invalids.rs");
}
t.compile_fail("compilation_tests/generic_function.rs");
Expand Down

0 comments on commit 3922ae9

Please sign in to comment.