From: Jakub Pawlowicz Date: Fri, 10 Oct 2014 21:08:37 +0000 (+0100) Subject: Fixes specs under latest 0.11. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6bda75b7e1c2b96e4caef80fbc85f7004d1a7105;p=clean-css.git Fixes specs under latest 0.11. --- diff --git a/test/protocol-imports-test.js b/test/protocol-imports-test.js index b838c785..9c1e13da 100644 --- a/test/protocol-imports-test.js +++ b/test/protocol-imports-test.js @@ -221,7 +221,7 @@ vows.describe('protocol imports').addBatch({ }, 'should not raise errors': function(errors, minified) { assert.equal(errors.length, 1); - assert.equal(errors[0], 'Broken @import declaration of "http://notdefined.127.0.0.1/custom.css" - getaddrinfo ENOTFOUND'); + assert.include(errors[0], 'Broken @import declaration of "http://notdefined.127.0.0.1/custom.css"'); }, 'should process @import': function(errors, minified) { assert.equal(minified, '@import url(http://notdefined.127.0.0.1/custom.css);a{color:red}');