Remove space between key and colon when pretty printing objects

[#4005255]
This commit is contained in:
Greg Cobb and Luan Santos
2014-03-12 11:47:47 -07:00
parent c9e37a2a1c
commit 21de44a204
3 changed files with 14 additions and 14 deletions

View File

@@ -3,7 +3,7 @@ describe("j$.pp (HTML Dependent)", function () {
var sampleNode = document.createElement('div');
sampleNode.innerHTML = 'foo<b>bar</b>';
expect(j$.pp(sampleNode)).toEqual("HTMLNode");
expect(j$.pp({foo: sampleNode})).toEqual("{ foo : HTMLNode }");
expect(j$.pp({foo: sampleNode})).toEqual("{ foo: HTMLNode }");
});
it("should print Firefox's wrapped native objects correctly", function() {