mirror of
https://github.com/uuid-rs/uuid.git
synced 2025-10-02 15:24:57 +00:00
add missing wasm test attr
This commit is contained in:
parent
759c971f09
commit
8babf975a8
@ -428,6 +428,7 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg_attr(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown"), wasm_bindgen_test)]
|
||||||
fn rfc4122_unix_does_not_panic() {
|
fn rfc4122_unix_does_not_panic() {
|
||||||
// Ensure timestamp conversions never panic
|
// Ensure timestamp conversions never panic
|
||||||
Timestamp::unix_to_rfc4122_ticks(u64::MAX, 0);
|
Timestamp::unix_to_rfc4122_ticks(u64::MAX, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user