Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mativm02 committed Aug 4, 2023
1 parent e515418 commit b4e401c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions persistent/internal/driver/mongo/life_cycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ func TestParseURL(t *testing.T) {
},
{
name: "cosmosdb url without database with options",
url: "mongodb+srv://tyk:6}3cZQU.9KvM/hVR4qkm-hHqZTu3yg=G@cluster0.zlgvyel.mongodb.net/?retryWrites=true&w=majority",
want: "mongodb+srv://tyk:6%7D3cZQU.9KvM%2FhVR4qkm-hHqZTu3yg%3DG@cluster0.zlgvyel.mongodb.net/?retryWrites=true&w=majority",
url: "mongodb+srv://tyk:6}3c.9KvM/hVR4qkm-hu3yg=G@clu0.zl.mongodb.net/?retryWrites=true&w=majority",
want: "mongodb+srv://tyk:6%7D3c.9KvM%2FhVR4qkm-hu3yg%3DG@clu0.zl.mongodb.net/?retryWrites=true&w=majority",
},
}

Expand All @@ -286,7 +286,6 @@ func TestParseURL(t *testing.T) {
assert.Equal(t, test.wantErr, err != nil)
})
}

}

func TestClose(t *testing.T) {
Expand Down

0 comments on commit b4e401c

Please sign in to comment.