Merge pull request #8144 from jepler/test-empty-settings.toml
Test empty settings.toml
This commit is contained in:
commit
95535a8cd0
|
@ -0,0 +1,17 @@
|
|||
ValueError
|
||||
IndexError
|
||||
ValueError
|
||||
ValueError
|
||||
ValueError
|
||||
ValueError
|
||||
ValueError
|
||||
ValueError
|
||||
IndexError
|
||||
KeyError
|
||||
ValueError
|
||||
IndexError
|
||||
ValueError
|
||||
ValueError
|
||||
ValueError
|
||||
ValueError
|
||||
ValueError
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
key None
|
||||
key0 'hello world'
|
||||
key1 7
|
||||
key2 '\n'
|
||||
|
|
Loading…
Reference in New Issue