Skip to content

Commit

Permalink
Test fallback on Linux/Andorid
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Richey <[email protected]>
  • Loading branch information
josephlr committed Jun 19, 2024
1 parent 4f103bd commit 92cc8f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/linux_android_with_fallback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ fn is_getrandom_available() -> bool {
true
}
}

#[cfg(test)]
mod fallback {
crate::tests::define_tests!(super::use_file::getrandom_inner);
}

0 comments on commit 92cc8f6

Please sign in to comment.