Skip to content
Snippets Groups Projects
Commit 0384b48b authored by 🥺's avatar 🥺 :transgender_flag: Committed by 🥺
Browse files

add main.rs test for unix maximize_fd_limit

parent 74c34e88
No related branches found
No related tags found
No related merge requests found
......@@ -921,3 +921,12 @@ fn maximize_fd_limit() -> Result<(), nix::errno::Errno> {
Ok(())
}
#[cfg(test)]
mod test {
use super::*;
#[cfg(unix)]
#[test]
fn maximize_fd_limit_works() { maximize_fd_limit().unwrap() }
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment