aboutsummaryrefslogtreecommitdiff
path: root/tests/lib.rs
blob: 06de0ad38e24ef21f075b249b8cb0cb5b6ce4550 (plain)
1
2
3
4
5
6
7
8
#[test]
fn get_library_version() {
    let version = nitrokey::get_library_version();

    assert!(!version.git.is_empty());
    assert!(version.git.starts_with("v"));
    assert!(version.major > 0);
}