Skip to content

Commit

Permalink
Add a warning test
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed May 30, 2024
1 parent e4af039 commit c2359dc
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
15 changes: 15 additions & 0 deletions source/connection-string/tests/valid-warnings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions source/connection-string/tests/valid-warnings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,15 @@ tests:
port: ~
auth: ~
options: ~
-
description: Comma in a key value pair causes a warning
uri: mongodb://example.com?authMechanismProperties=TOKEN_RESOURCE:mongodb://host1%2Chost2
valid: true
warning: true
hosts:
-
type: "hostname"
host: "localhost"
port: ~
auth: ~
options: ~

0 comments on commit c2359dc

Please sign in to comment.