We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
encodeResult
What does this block of code supposed to do? Specifically the invalidYaml function.
invalidYaml
https://github.com/substack/tape/blob/0e68b2d1ff44929ea56c291fa24d9083e3151f84/lib/results.js#L148-L154
The invalidYml function returns true on negative numbers because it has a dash. Thus, if the value of ac is -1, instead of printing
invalidYml
ac
actual: -1
It prints
actual: |- -1
Is this the expected behavior?
The text was updated successfully, but these errors were encountered:
The implication is that a yaml parser won't work properly with actual: -1, but I'm not sure of the background.
Sorry, something went wrong.
No branches or pull requests
What does this block of code supposed to do? Specifically the
invalidYaml
function.https://github.com/substack/tape/blob/0e68b2d1ff44929ea56c291fa24d9083e3151f84/lib/results.js#L148-L154
The
invalidYml
function returns true on negative numbers because it has a dash. Thus, if the value ofac
is -1, instead of printingIt prints
Is this the expected behavior?
The text was updated successfully, but these errors were encountered: