@@ -552,8 +552,8 @@ mod test {
552
552
553
553
#[ test]
554
554
fn snapshot_backup_decryption_key ( ) {
555
+ let decryption_key = BackupDecryptionKey { inner : Box :: new ( [ 1u8 ; 32 ] ) } ;
555
556
with_settings ! ( { sort_maps => true , prepend_module_to_snapshot => false } , {
556
- let decryption_key = BackupDecryptionKey { inner: Box :: new( [ 1u8 ; 32 ] ) } ;
557
557
assert_json_snapshot!( "BackupDecryptionKey_json" , decryption_key) ;
558
558
559
559
// should not log the key !
@@ -593,7 +593,7 @@ mod test {
593
593
] ) ) ;
594
594
595
595
with_settings ! ( { sort_maps => true , prepend_module_to_snapshot => false } , {
596
- assert_json_snapshot!( "Signatures" , signatures)
596
+ assert_json_snapshot!( signatures)
597
597
} ) ;
598
598
}
599
599
@@ -614,7 +614,7 @@ mod test {
614
614
} ;
615
615
616
616
with_settings ! ( { sort_maps => true , prepend_module_to_snapshot => false } , {
617
- assert_json_snapshot!( "SecretsBundle_backup_some" , secret_bundle) ;
617
+ assert_json_snapshot!( "SecretsBundle_backup_some" , secret_bundle)
618
618
} ) ;
619
619
620
620
let secret_bundle = SecretsBundle {
@@ -627,7 +627,7 @@ mod test {
627
627
} ;
628
628
629
629
with_settings ! ( { sort_maps => true , prepend_module_to_snapshot => false } , {
630
- assert_json_snapshot!( "SecretsBundle_backup_none" , secret_bundle) ;
630
+ assert_json_snapshot!( "SecretsBundle_backup_none" , secret_bundle)
631
631
} ) ;
632
632
}
633
633
}
0 commit comments