From 6bda75b7e1c2b96e4caef80fbc85f7004d1a7105 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Fri, 10 Oct 2014 22:08:37 +0100 Subject: [PATCH] Fixes specs under latest 0.11. --- test/protocol-imports-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}'); -- 2.34.1