aboutsummaryrefslogtreecommitdiff
path: root/nitrokey/tests/lib.rs
blob: c92e2241b8fc64522a0b9e46aaeaef2dd2e77a49 (plain)
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);
}