Skip to content

Use consistent representation for infinity#143

Merged
arp242 merged 1 commit intotoml-lang:masterfrom
gnarlyquack:fix-inf
Oct 7, 2023
Merged

Use consistent representation for infinity#143
arp242 merged 1 commit intotoml-lang:masterfrom
gnarlyquack:fix-inf

Conversation

@gnarlyquack
Copy link
Copy Markdown
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
@arp242
Copy link
Copy Markdown
Member

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