exec = require('child_process').exec,
fs = require('fs');
-var isWindows = process.platform == 'win32',
- lineBreak = isWindows ? /\r\n/g : /\n/g;
+var isWindows = process.platform == 'win32';
+var lineBreak = isWindows ? /\r\n/g : /\n/g;
var binaryContext = function(options, context) {
context.topic = function() {
assert.equal(minimized, target);
},
teardown: function() {
- exec('rm reset-min.css');
+ if (isWindows)
+ exec('del /q /f reset-min.css');
+ else
+ exec('rm reset-min.css');
}
})
});
\ No newline at end of file