diff --git a/test/unit/specs/nodes_to_host_callback.js b/test/unit/specs/nodes_to_host_callback.js index 4102fb0bf..6e6f4806d 100644 --- a/test/unit/specs/nodes_to_host_callback.js +++ b/test/unit/specs/nodes_to_host_callback.js @@ -79,7 +79,7 @@ describe('Nodes to host callback', function () { http_address: 'not actually an http host' } }); - }).to.throwException(/does not match the expected pattern/); + }).to.throwException(/expected.*property.*match either/); }); });