Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Oct 4, 2024
1 parent 44a5d80 commit 72a2328
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqlx-core/src/mssql/protocol/pre_login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ fn test_encode_pre_login() {
build: 0,
sub_build: 0,
},
encryption: Encrypt::ON,
encryption: Encrypt::On,
instance: Some("".to_string()),
thread_id: Some(0x00000DB8),
multiple_active_result_sets: Some(true),
Expand Down Expand Up @@ -359,5 +359,5 @@ fn test_decode_pre_login() {
assert_eq!(pre_login.version.sub_build, 0);

// ENCRYPT_OFF
assert_eq!(pre_login.encryption.bits(), 0);
assert_eq!(u8::from(pre_login.encryption), 0);
}

0 comments on commit 72a2328

Please sign in to comment.