Skip to content

Commit

Permalink
Fix cfg on test_systemtime_overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed May 7, 2024
1 parent cc865ac commit 20306f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_suite/tests/test_de_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,7 @@ fn test_systemtime_overflow_struct() {
);
}

#[cfg(systemtime_checked_add)]
#[cfg(not(no_systemtime_checked_add))]
#[test]
fn test_systemtime_overflow() {
assert_de_tokens_error::<SystemTime>(
Expand Down

0 comments on commit 20306f4

Please sign in to comment.