Skip to content

Commit

Permalink
gate the stable_hash test to only run on little endinan machines
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkjall committed Nov 4, 2023
1 parent 84c483a commit fd855f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ mod cache_tests {

// Sanity-checking that cache_key's behavior is stable over time. This test may need to be
// updated when changing Rust versions / editions.
#[cfg(target_endian = "little")]
#[test]
fn stable_hash() {
assert_eq!(100.cache_key(), "7D208C81E8236995");
Expand Down

0 comments on commit fd855f8

Please sign in to comment.