Skip to content

Commit 2cce6d6

Browse files
committed
Fix app name test.
1 parent b9d57dd commit 2cce6d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/integration/client_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,9 @@ func TestClient(t *testing.T) {
460460
assert.Nil(mt, err, "Ping error: %v", err)
461461

462462
want := mustMarshalBSON(bson.D{
463+
{Key: "application", Value: bson.D{
464+
bson.E{Key: "name", Value: "foo"},
465+
}},
463466
{Key: "driver", Value: bson.D{
464467
{Key: "name", Value: "mongo-go-driver"},
465468
{Key: "version", Value: version.Driver},
@@ -469,9 +472,6 @@ func TestClient(t *testing.T) {
469472
{Key: "architecture", Value: runtime.GOARCH},
470473
}},
471474
{Key: "platform", Value: runtime.Version()},
472-
{Key: "application", Value: bson.D{
473-
bson.E{Key: "name", Value: "foo"},
474-
}},
475475
})
476476

477477
for i := 0; i < 2; i++ {

0 commit comments

Comments
 (0)