Skip to content

Commit 001740f

Browse files
authored
Merge pull request #9117 from jepler/getenv-strings-must-be-quoted
settings.toml: explicitly check that strings must be quoted
2 parents 1a65965 + ce64daa commit 001740f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/circuitpython/getenv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def ioctl(self, op, arg):
5858
b'key = """\n',
5959
b"key =\n",
6060
b'key="',
61+
b'key = strings must be quoted\n',
6162
]
6263

6364

tests/circuitpython/getenv.py.exp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ key Invalid byte '\n'
3232
key Invalid byte '"'
3333
key invalid syntax for integer with base 10: ''
3434
key Invalid byte 'EOF'
35+
key invalid syntax for integer with base 10: 'strings must be quoted'

0 commit comments

Comments
 (0)