Skip to content

Commit 6b5a436

Browse files
authored
Fix test for 3.0.0 string change
1 parent 81874ac commit 6b5a436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openssl/src/ssl/test/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ fn state() {
295295
let server = Server::builder().build();
296296

297297
let s = server.client().connect();
298-
assert_eq!(s.ssl().state_string(), "SSLOK ");
298+
assert_eq!(s.ssl().state_string().trim(), "SSLOK");
299299
assert_eq!(
300300
s.ssl().state_string_long(),
301301
"SSL negotiation finished successfully"

0 commit comments

Comments
 (0)