add missing wasm test attr

This commit is contained in:
KodrAus 2023-06-27 11:15:24 +10:00
parent 759c971f09
commit 8babf975a8

View File

@ -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);