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

Assertion failure output trims newlines in string match failure #199

Open
aral opened this issue Mar 15, 2022 · 1 comment
Open

Assertion failure output trims newlines in string match failure #199

aral opened this issue Mar 15, 2022 · 1 comment

Comments

@aral
Copy link

aral commented Mar 15, 2022

Output of assertion failure:

FAIL  CLI  "version"
Version command output is as expected.  (equal)

    Actual:
    --nodekit,·1.0.0
    Expected:
    ++nodekit,·1.0.0
    
at assert (file:///home/aral/Projects/small-web/nodekit/app/node_modules/uvu/assert/index.mjs:33:8)
at Module.equal (file:///home/aral/Projects/small-web/nodekit/app/node_modules/uvu/assert/index.mjs:45:2)

(The first line has a newline at the end but it is being trimmed, making it impossible to tell what the difference is from looking at the error message.)

@rschristian
Copy link
Contributor

Looks like a duplicate of #110

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

No branches or pull requests

2 participants