From d146ff8794dde9c0fe308c294243bdbbecb47cc0 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Sat, 14 Jan 2017 21:47:18 +0000 Subject: [PATCH] Update debug_spec test for Error messages --- test/nodes/core/core/58-debug_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nodes/core/core/58-debug_spec.js b/test/nodes/core/core/58-debug_spec.js index 46958c1fd..5c211f79b 100644 --- a/test/nodes/core/core/58-debug_spec.js +++ b/test/nodes/core/core/58-debug_spec.js @@ -136,7 +136,7 @@ describe('debug node', function() { n1.emit("input", {payload: new Error("oops")}); }, function(msg) { JSON.parse(msg).should.eql({ - topic:"debug",data:{id:"n1",msg:"Error: oops",property:"payload",format:"error"} + topic:"debug",data:{id:"n1",msg:'{"name":"Error","message":"oops"}',property:"payload",format:"error"} }); }, done); });