File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ var sourceMaps = require('gulp-sourcemaps')
77var postcss = require ( './index' )
88var proxyquire = require ( 'proxyquire' )
99var sinon = require ( 'sinon' )
10+ var path = require ( 'path' )
1011
1112it ( 'should pass file when it isNull()' , function ( cb ) {
1213 var stream = postcss ( [ doubler ] )
@@ -261,7 +262,7 @@ describe('PostCSS Guidelines', function () {
261262 var stream = postcss ( [ doubler ] )
262263 var cssPath = __dirname + '/src/fixture.css'
263264 function Warning ( msg ) {
264- this . toSting = function ( ) {
265+ this . toString = function ( ) {
265266 return msg
266267 }
267268 }
@@ -275,7 +276,7 @@ describe('PostCSS Guidelines', function () {
275276 } ) )
276277
277278 stream . on ( 'data' , function ( ) {
278- gutil . log . calledWith ( 'gulp-postcss:' , '/ src/ fixture.css\nmsg1\nmsg2' )
279+ assert ( gutil . log . calledWith ( 'gulp-postcss:' , 'src' + path . sep + ' fixture.css\nmsg1\nmsg2') )
279280 cb ( )
280281 } )
281282
You can’t perform that action at this time.
0 commit comments