mirror of
https://github.com/hanzoai/postcss.git
synced 2026-09-24 17:01:56 +00:00
Remove API warning from integration test
This commit is contained in:
@@ -36,7 +36,7 @@ task 'integration', 'Test parser/stringifier on real CSS', ->
|
||||
postcss = require(__dirname + '/lib/postcss')
|
||||
test = (css) ->
|
||||
try
|
||||
processed = postcss().process(css, map: true, mapAnnotation: false).css
|
||||
processed = postcss().process(css, map: { annotation: false }).css
|
||||
catch e
|
||||
fs.writeFileSync(__dirname + '/fail.css', css)
|
||||
error("Parsing error: #{ e.stack }\nBad file was saved to fail.css")
|
||||
|
||||
Reference in New Issue
Block a user