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 SequenceExpression (i.e., comma operator) #59

Closed
falsandtru opened this issue May 23, 2016 · 3 comments
Closed

Support SequenceExpression (i.e., comma operator) #59

falsandtru opened this issue May 23, 2016 · 3 comments

Comments

@falsandtru
Copy link
Contributor

falsandtru commented May 23, 2016

code:

assert((-0, -1) === -0 + (-1));

expected:

  assert((-0, -1) + 1 === -0 + (-1))
         ||   |   |   |   |  |  |
         |0   -1  |   |   |  |  -1
         -1       |   |   0  -1
                  0   false

actual:

  assert((-0, -1) + 1 === -0 + -1)
                  |   |   |  | |
                  |   |   |  | -1
                  |   |   0  -1
                  0   false
@falsandtru
Copy link
Contributor Author

ping @twada

@twada
Copy link
Member

twada commented May 28, 2016

@falsandtru Thank you for reporting. I'll take a look.

@twada twada changed the title Unable to get descriptive assertion messages inside parentheses Support SequenceExpression (i.e., comma operator) Jun 21, 2016
twada added a commit to power-assert-js/babel-plugin-espower that referenced this issue Jun 21, 2016
twada added a commit to power-assert-js/espower that referenced this issue Jun 21, 2016
@twada
Copy link
Member

twada commented Dec 31, 2016

@falsandtru Sorry for the too late response, I've implemented SequenceExpression (i.e., comma operator) support this summer(!) so I close this issue now. Please feel free to reopen this issue if you have any problems.

@twada twada closed this as completed Dec 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants