Skip to content

Commit d765342

Browse files
author
刘祺
committed
Merge branch 'master' into error_details
2 parents 7f9253c + c13b5a1 commit d765342

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ sudo: false
22
language: node_js
33
node_js:
44
- iojs
5+
- "stable"
56
- "0.12"
67
- "0.10"

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ describe('PostCSS Guidelines', function () {
271271
var stream = postcss([ doubler ])
272272
var cssPath = __dirname + '/src/fixture.css'
273273
function Warning (msg) {
274-
this.toSting = function () {
274+
this.toString = function () {
275275
return msg
276276
}
277277
}
@@ -285,7 +285,7 @@ describe('PostCSS Guidelines', function () {
285285
}))
286286

287287
stream.on('data', function () {
288-
gutil.log.calledWith('gulp-postcss:', '/src/fixture.css\nmsg1\nmsg2')
288+
assert(gutil.log.calledWith('gulp-postcss:', 'src' + path.sep + 'fixture.css\nmsg1\nmsg2'))
289289
cb()
290290
})
291291

0 commit comments

Comments
 (0)