File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 2121 "line" : 2 ,
2222 "column" : 20
2323 },
24- "filename " : " comment.in.css"
24+ "source " : " comment.in.css"
2525 }
2626 },
2727 {
3737 "line" : 3 ,
3838 "column" : 51
3939 },
40- "filename " : " comment.in.css"
40+ "source " : " comment.in.css"
4141 }
4242 }
4343 ],
5050 "line" : 4 ,
5151 "column" : 2
5252 },
53- "filename " : " comment.in.css"
53+ "source " : " comment.in.css"
5454 }
5555 }
5656 ]
Original file line number Diff line number Diff line change @@ -26,14 +26,13 @@ describe('parse(str)', function(){
2626 it ( 'should save the filename and source' , function ( ) {
2727 var css = 'booty {\n size: large;\n}\n' ;
2828 var ast = parse ( css , {
29- filename : 'booty.css'
29+ source : 'booty.css'
3030 } ) ;
3131
3232 var position = ast . stylesheet . rules [ 0 ] . position
3333 position . start . should . be . ok ;
3434 position . end . should . be . ok ;
35- position . filename . should . equal ( 'booty.css' ) ;
36- position . source . should . equal ( css ) ;
35+ position . source . should . equal ( 'booty.css' ) ;
3736 } ) ;
3837
3938 it ( 'should throw when a selector is missing' , function ( ) {
You can’t perform that action at this time.
0 commit comments