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

Include source line in assertion error #19

Open
jkrems opened this issue Mar 13, 2015 · 3 comments
Open

Include source line in assertion error #19

jkrems opened this issue Mar 13, 2015 · 3 comments

Comments

@jkrems
Copy link
Contributor

jkrems commented Mar 13, 2015

assert.expect(2 > 3);

I want assertive to include the source line in the error, e.g. by capturing the stack trace in a smarter way.

@EndangeredMassa
Copy link
Contributor

How much effort like this is worth it before either just using power-assert or rewriting assertive to be an arg-shifted version of power-assert?

@ghost
Copy link

ghost commented Mar 13, 2015

power-assert looks pretty nice - @EndangeredMassa have you guys been using it?

@EndangeredMassa
Copy link
Contributor

Not me, but I've heard people like it.

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