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

Stack details are not populated to lastAsserRawErrorString #25

Open
tyoshino opened this issue Jul 15, 2016 · 0 comments
Open

Stack details are not populated to lastAsserRawErrorString #25

tyoshino opened this issue Jul 15, 2016 · 0 comments

Comments

@tyoshino
Copy link

tyoshino commented Jul 15, 2016

ba07421 added support for processing AssertionError of https://www.npmjs.com/package/assert

The body of the stack item is not appended to lastAsserRawErrorString in Parser.prototype._handleError. Due to that, it gets truncated in tap-spec's output.

    ✖ AssertionError: false == true
    --------------------------------
      operator: error
      expected: |-
        undefined
      actual: |-
        { actual: false, expected: true, generatedMessage: true, message: 'false == true', name: 'AssertionError', operator: '==' }
      at: Test.exports.Test.run (/tyoshino/whatwgstreams/reference-implementation/node_modules/tape-catch/index.js:29:10)
      stack: |-
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

1 participant