Merge pull request #9117 from jepler/getenv-strings-must-be-quoted

settings.toml: explicitly check that strings must be quoted
This commit is contained in:
Scott Shawcroft 2024-03-29 10:35:18 -07:00 committed by GitHub
commit 001740f2d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -58,6 +58,7 @@ content_bad = [
b'key = """\n',
b"key =\n",
b'key="',
b'key = strings must be quoted\n',
]

View file

@ -32,3 +32,4 @@ key Invalid byte '\n'
key Invalid byte '"'
key invalid syntax for integer with base 10: ''
key Invalid byte 'EOF'
key invalid syntax for integer with base 10: 'strings must be quoted'