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

Ensure empty class attributes on both subject and value compare equal. #208

Merged
merged 1 commit into from
Sep 21, 2018
Merged

Ensure empty class attributes on both subject and value compare equal. #208

merged 1 commit into from
Sep 21, 2018

Conversation

alexjeffburke
Copy link
Member

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 94.775% when pulling 1975960 on alexjeffburke:fix/empty-class-comparison into 2982e90 on Munter:master.

Copy link
Member

@sunesimonsen sunesimonsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 👍

@sunesimonsen
Copy link
Member

sunesimonsen commented Sep 21, 2018

The only thing is that the class has contains semantics if there are any classes. But when the class is empty it expect it to be empty. Is that confusing? Don't get me wrong, it is kind of useful. Maybe we should just document it.

@sunesimonsen
Copy link
Member

After thinking a bit about it, I think this is the behavior we want. But we should probably document it.

@sunesimonsen
Copy link
Member

Let's just get this merged.

@sunesimonsen sunesimonsen merged commit d3803da into unexpectedjs:master Sep 21, 2018
@sunesimonsen
Copy link
Member

Released as [email protected]

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

Successfully merging this pull request may close these issues.

3 participants