Skip to content

Commit

Permalink
add missing wasm test attr
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Jun 27, 2023
1 parent 759c971 commit 8babf97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/timestamp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ mod tests {
use super::*;

#[test]
#[cfg_attr(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown"), wasm_bindgen_test)]
fn rfc4122_unix_does_not_panic() {
// Ensure timestamp conversions never panic
Timestamp::unix_to_rfc4122_ticks(u64::MAX, 0);
Expand Down

0 comments on commit 8babf97

Please sign in to comment.