Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser accepts invalid inline table #141

Closed
skilly-lily opened this issue Sep 10, 2021 · 0 comments · Fixed by #151
Closed

Parser accepts invalid inline table #141

skilly-lily opened this issue Sep 10, 2021 · 0 comments · Fixed by #151

Comments

@skilly-lily
Copy link

Using current master version: 627fb1a

Reproduction

import tomlkit

missing_eq = """[a]
b { c = "d" }
"""

# Should throw TOML syntax exception
tomlkit.loads(missing_eq)

This should probably throw an error, since it is not valid TOML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant