Skip to content

Commit

Permalink
lib: remove test_rustls_version()
Browse files Browse the repository at this point in the history
This is now redundant with the more specific `tests/rustls_version.rs`
integration test.
  • Loading branch information
cpu committed Jun 12, 2024
1 parent d1de484 commit 8a745e3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,15 +705,6 @@ pub extern "C" fn rustls_version() -> rustls_str<'static> {
rustls_str::from_str_unchecked(RUSTLS_FFI_VERSION)
}

#[test]
fn test_rustls_version() {
// very rough check that the version number is being interpolated into the
// variable
assert!(RUSTLS_FFI_VERSION.contains("/0."));
let vsn = rustls_version();
assert!(vsn.len > 4)
}

#[cfg(test)]
mod tests {
use super::*;
Expand Down

0 comments on commit 8a745e3

Please sign in to comment.