try to fix debug node non-standard object type handling.

This commit is contained in:
Dave Conway-Jones
2015-10-10 22:41:07 +01:00
parent 1bf72a0bc3
commit 61045ddd7f
2 changed files with 11 additions and 11 deletions

View File

@@ -94,7 +94,7 @@ describe('debug node', function() {
}, function(msg) {
JSON.parse(msg).should.eql({
topic:"debug",
data:{id:"n1",msg:'{\n "payload": "test"\n}',format:"object"}
data:{id:"n1",msg:'{\n "payload": "test"\n}',format:"Object"}
});
}, done);
});
@@ -179,7 +179,7 @@ describe('debug node', function() {
}, function(msg) {
JSON.parse(msg).should.eql({
topic:"debug",
data:{id:"n1",msg:'{\n "type": "foo"\n}',property:"payload",format:"object"}
data:{id:"n1",msg:'{\n "type": "foo"\n}',property:"payload",format:"Object"}
});
}, done);
});
@@ -215,7 +215,7 @@ describe('debug node', function() {
data:{
id:"n1",
msg:'{\n "name": "bar",\n "o": "[circular]"\n}',
property:"payload",format:"object"
property:"payload",format:"Object"
}
});
}, done);