Merge pull request #8144 from jepler/test-empty-settings.toml

Test empty settings.toml
This commit is contained in:
Scott Shawcroft 2023-07-07 15:42:43 -07:00 committed by GitHub
commit 95535a8cd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,17 @@
ValueError
IndexError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
IndexError
KeyError
ValueError
IndexError
ValueError
ValueError
ValueError
ValueError
ValueError

View File

@ -72,6 +72,8 @@ def run_test(key, content):
print(key, str(e))
run_test("key", b"")
for i in range(13):
run_test(f"key{i}", content_good)

View File

@ -1,3 +1,4 @@
key None
key0 'hello world'
key1 7
key2 '\n'