We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a5d80 commit 72a2328Copy full SHA for 72a2328
sqlx-core/src/mssql/protocol/pre_login.rs
@@ -321,7 +321,7 @@ fn test_encode_pre_login() {
321
build: 0,
322
sub_build: 0,
323
},
324
- encryption: Encrypt::ON,
+ encryption: Encrypt::On,
325
instance: Some("".to_string()),
326
thread_id: Some(0x00000DB8),
327
multiple_active_result_sets: Some(true),
@@ -359,5 +359,5 @@ fn test_decode_pre_login() {
359
assert_eq!(pre_login.version.sub_build, 0);
360
361
// ENCRYPT_OFF
362
- assert_eq!(pre_login.encryption.bits(), 0);
+ assert_eq!(u8::from(pre_login.encryption), 0);
363
}
0 commit comments