Skip to content

Commit

Permalink
Add test for vendor prefix align for strange multiline comments
Browse files Browse the repository at this point in the history
  • Loading branch information
L0stSoul authored and tonyganch committed Jun 9, 2014
1 parent 982ce57 commit a5594ae
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/options/vendor-prefix-align.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ describe('options/vendor-prefix-align', function() {
this.shouldBeEqual('with-comment-property.css', 'with-comment-property.expected.css');
});

it('Should correctly work when there is comment before property name', function() {
this.shouldBeEqual('multiline-comments.css', 'multiline-comments.expected.css');
});

it('Should correctly align prefixes in properties', function() {
this.shouldBeEqual('property-align.css', 'property-align.expected.css');
});
Expand Down
9 changes: 9 additions & 0 deletions test/options/vendor-prefix-align/multiline-comments.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
a
{
-webkit-color: panda;
/*
* /\_/\
* ( o.o )
* > ^ <
*/ -moz-color: panda;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
a
{
-webkit-color: panda;
/*
* /\_/\
* ( o.o )
* > ^ <
*/ -moz-color: panda;
}

0 comments on commit a5594ae

Please sign in to comment.