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 b9d57dd commit 2cce6d6Copy full SHA for 2cce6d6
internal/integration/client_test.go
@@ -460,6 +460,9 @@ func TestClient(t *testing.T) {
460
assert.Nil(mt, err, "Ping error: %v", err)
461
462
want := mustMarshalBSON(bson.D{
463
+ {Key: "application", Value: bson.D{
464
+ bson.E{Key: "name", Value: "foo"},
465
+ }},
466
{Key: "driver", Value: bson.D{
467
{Key: "name", Value: "mongo-go-driver"},
468
{Key: "version", Value: version.Driver},
@@ -469,9 +472,6 @@ func TestClient(t *testing.T) {
469
472
{Key: "architecture", Value: runtime.GOARCH},
470
473
}},
471
474
{Key: "platform", Value: runtime.Version()},
- {Key: "application", Value: bson.D{
- bson.E{Key: "name", Value: "foo"},
- }},
475
})
476
477
for i := 0; i < 2; i++ {
0 commit comments