File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,16 @@ var path = require('path');
5
5
var read = fs . readFileSync ;
6
6
var readdir = fs . readdirSync ;
7
7
8
- readdir ( 'test/cases' ) . forEach ( function ( file ) {
9
- if ( ~ file . indexOf ( '.out' ) ) return ;
10
- var base = path . basename ( file , '.css' ) ;
11
- var input = read ( 'test/cases/' + file , 'utf8 ' ) ;
12
- var output = read ( 'test/cases/' + base + '.out.css' , 'utf8' ) ;
13
-
14
- describe ( base , function ( ) {
15
- it ( 'should work' , function ( ) {
8
+ describe ( 'should support' , function ( ) {
9
+ readdir ( 'test/cases' ) . forEach ( function ( file ) {
10
+ if ( ~ file . indexOf ( '.out' ) ) return ;
11
+ var base = path . basename ( file , '.css ' ) ;
12
+ var input = read ( 'test/cases/' + file , 'utf8' ) ;
13
+ var output = read ( 'test/cases/' + base + '.out.css' , 'utf8' ) ;
14
+
15
+ it ( base , function ( ) {
16
16
var out = compile ( input ) ;
17
17
out . should . equal ( output ) ;
18
18
} )
19
- } )
20
- } ) ;
19
+ } ) ;
20
+ } )
You can’t perform that action at this time.
0 commit comments