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

Use consistent representation for infinity #143

Merged
merged 1 commit into from
Oct 7, 2023

Conversation

gnarlyquack
Copy link
Contributor

valid/spec/float-2.json, which is new in toml-test 1.4.0, caused issues with my test generator because it used "Inf" to represent the value infinity whereas all other valid tests follow the TOML representation and use "inf". This PR changes the test to be consistent with all the others.

@arp242 arp242 merged commit b93212f into toml-lang:master Oct 7, 2023
6 checks passed
@arp242
Copy link
Collaborator

arp242 commented Oct 7, 2023

Thanks!

@gnarlyquack gnarlyquack deleted the fix-inf branch October 7, 2023 18:40
arp242 added a commit to BurntSushi/toml that referenced this pull request Oct 10, 2023
Doesn't really matter for the toml-test test runner, but we use
toml-test-decoder for generating tests, and "Inf" with capital was
causing issues for some: toml-lang/toml-test#143
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 this pull request may close these issues.

2 participants