@@ -386,7 +386,8 @@ func TestOperation(t *testing.T) {
386386 rpWithTags := bsoncore .BuildDocumentFromElements (nil ,
387387 bsoncore .AppendStringElement (nil , "mode" , "secondaryPreferred" ),
388388 bsoncore .BuildArrayElement (nil , "tags" ,
389- bsoncore.Value {Type : bsoncore .TypeEmbeddedDocument ,
389+ bsoncore.Value {
390+ Type : bsoncore .TypeEmbeddedDocument ,
390391 Data : bsoncore .BuildDocumentFromElements (nil ,
391392 bsoncore .AppendStringElement (nil , "disk" , "ssd" ),
392393 bsoncore .AppendStringElement (nil , "use" , "reporting" ),
@@ -408,7 +409,8 @@ func TestOperation(t *testing.T) {
408409 rpWithAllOptions := bsoncore .BuildDocumentFromElements (nil ,
409410 bsoncore .AppendStringElement (nil , "mode" , "secondaryPreferred" ),
410411 bsoncore .BuildArrayElement (nil , "tags" ,
411- bsoncore.Value {Type : bsoncore .TypeEmbeddedDocument ,
412+ bsoncore.Value {
413+ Type : bsoncore .TypeEmbeddedDocument ,
412414 Data : bsoncore .BuildDocumentFromElements (nil ,
413415 bsoncore .AppendStringElement (nil , "disk" , "ssd" ),
414416 bsoncore .AppendStringElement (nil , "use" , "reporting" ),
@@ -695,7 +697,7 @@ func assertExhaustAllowedSet(t *testing.T, wm []byte, expected bool) {
695697 if ! ok {
696698 t .Fatal ("could not read wm header" )
697699 }
698- flags , wm , ok := wiremessage .ReadMsgFlags (wm )
700+ flags , _ , ok := wiremessage .ReadMsgFlags (wm )
699701 if ! ok {
700702 t .Fatal ("could not read wm flags" )
701703 }
0 commit comments