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

Several small fixes and fix for #67 #80

Merged
merged 4 commits into from
Sep 17, 2013
Merged

Several small fixes and fix for #67 #80

merged 4 commits into from
Sep 17, 2013

Conversation

anton-rudeshko
Copy link
Contributor

No description provided.

});

it('should merge three adjacent whitespaces', function() {
nodeContent = [['s', ' '], ['s', ' \n'], ['s', ' \n']];
Copy link
Contributor

Choose a reason for hiding this comment

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

synthetic test, can't be in real life

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And previous too.
But this kind of tree may be produced on first step in processing and i must ensure that second step will work correctly. We should have both integration and unit tests. This is a unit test.

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree, accepted.

});

it('should remove empty ruleset', function() {
assert.equal(comb.processString(' b {} /*123*/'), ' /*123*/');
Copy link
Contributor

Choose a reason for hiding this comment

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

I meant to insert comment into a rule, not after.

mishanga added a commit that referenced this pull request Sep 17, 2013
Several small fixes and fix for #67
@mishanga mishanga merged commit 8d9da0f into csscomb:dev Sep 17, 2013
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.

2 participants