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

Support underscore in number literal to increase readability #3475

Open
jcamiel opened this issue Dec 4, 2024 · 0 comments
Open

Support underscore in number literal to increase readability #3475

jcamiel opened this issue Dec 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented Dec 4, 2024

It would be nice to support optional _ in literal numbers to increase readability.

GET https://foo.com
[Options]
limit-rate: 32_000
GET https://foo.com
HTTP 200
[Asserts]
jsonpath "$.reviews" count > 10_000

We may also support it in time units:

GET https://foo.com
[Options]
connect-timeout: 30_000ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant