1 2 3 4 5 6 7
#[test] fn get_library_version() { let version = nitrokey::get_library_version(); assert!(version.git.is_empty() || version.git.starts_with("v")); assert!(version.major > 0); }