Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed Dec 17, 2015
1 parent 3fc9fd6 commit 5e9a8a4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test.js
Expand Up @@ -206,29 +206,29 @@ test('set single exculde rule with options', t => {
color: red;
}
}
@font-face {
font-family: MyHelvetica;
src: local("Helvetica");
@an-atrule {
foo: bar;
baz: bar;
}
------------------------------
@media screen and (width: 480px) {
body {
color: red;
}
}
@font-face {
font-family: MyHelvetica !important;
src: local("Helvetica") !important;
@an-atrule {
foo: bar !important;
baz: bar !important;
}
*/
test('set single exculde atrules with function options', t => {
return run(t,
'@media screen and (width: 480px) {body {color: red;}}' +
'@font-face {font-family: MyHelvetica;' +
'src: local("Helvetica");}',
'@an-atrule {foo: bar;' +
'baz: bar;}',
'@media screen and (width: 480px) {body {color: red;}}' +
'@font-face {font-family: MyHelvetica !important;' +
'src: local("Helvetica") !important;}',
'@an-atrule {foo: bar !important;' +
'baz: bar !important;}',
{ atrules: () => 'media' });
});

Expand Down

0 comments on commit 5e9a8a4

Please sign in to comment.