@@ -663,15 +663,15 @@ vows.describe('cleancss')
663
663
'topic' : function ( ) {
664
664
var self = this ;
665
665
666
- exec ( 'cp test/fixtures/reset.css test/fixtures/reset-removing.css' , function ( ) {
667
- exec ( '__DIRECT__=1 ./bin/cleancss test/fixtures/reset-removing.css' , self . callback ) ;
666
+ exec ( 'cp test/fixtures/reset.css test/fixtures/reset-removing-1 .css' , function ( ) {
667
+ exec ( '__DIRECT__=1 ./bin/cleancss test/fixtures/reset-removing-1 .css' , self . callback ) ;
668
668
} ) ;
669
669
} ,
670
670
'keeps the file' : function ( ) {
671
- assert . isTrue ( fs . existsSync ( 'test/fixtures/reset-removing.css' ) ) ;
671
+ assert . isTrue ( fs . existsSync ( 'test/fixtures/reset-removing-1 .css' ) ) ;
672
672
} ,
673
673
'teardown' : function ( ) {
674
- deleteFile ( 'test/fixtures/reset-removing.css' ) ;
674
+ deleteFile ( 'test/fixtures/reset-removing-1 .css' ) ;
675
675
}
676
676
}
677
677
} )
@@ -680,12 +680,12 @@ vows.describe('cleancss')
680
680
'topic' : function ( ) {
681
681
var self = this ;
682
682
683
- exec ( 'cp test/fixtures/reset.css test/fixtures/reset-removing.css' , function ( ) {
684
- exec ( '__DIRECT__=1 ./bin/cleancss --remove-inlined-files test/fixtures/reset-removing.css' , self . callback ) ;
683
+ exec ( 'cp test/fixtures/reset.css test/fixtures/reset-removing-2 .css' , function ( ) {
684
+ exec ( '__DIRECT__=1 ./bin/cleancss --remove-inlined-files test/fixtures/reset-removing-2 .css' , self . callback ) ;
685
685
} ) ;
686
686
} ,
687
687
'removes the file' : function ( ) {
688
- assert . isFalse ( fs . existsSync ( 'test/fixtures/reset-removing.css' ) ) ;
688
+ assert . isFalse ( fs . existsSync ( 'test/fixtures/reset-removing-2 .css' ) ) ;
689
689
}
690
690
}
691
691
} )
@@ -694,12 +694,12 @@ vows.describe('cleancss')
694
694
'topic' : function ( ) {
695
695
var self = this ;
696
696
697
- exec ( 'cp test/fixtures/reset.css test/fixtures/reset-removing.css' , function ( ) {
698
- exec ( 'echo "@import \'test/fixtures/reset-removing.css\';" | ./bin/cleancss --remove-inlined-files' , self . callback ) ;
697
+ exec ( 'cp test/fixtures/reset.css test/fixtures/reset-removing-3 .css' , function ( ) {
698
+ exec ( 'echo "@import \'test/fixtures/reset-removing-3 .css\';" | ./bin/cleancss --remove-inlined-files' , self . callback ) ;
699
699
} ) ;
700
700
} ,
701
701
'removes the file' : function ( ) {
702
- assert . isFalse ( fs . existsSync ( 'test/fixtures/reset-removing.css' ) ) ;
702
+ assert . isFalse ( fs . existsSync ( 'test/fixtures/reset-removing-3 .css' ) ) ;
703
703
}
704
704
}
705
705
} )
0 commit comments