From 1da0c1c890ed483909f95fa7eed523d7e2987dbb Mon Sep 17 00:00:00 2001 From: pivotal Date: Tue, 28 Jul 2009 17:57:29 -0700 Subject: [PATCH] carl/bosh - fixed PrettyPrinter --- src/PrettyPrinter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PrettyPrinter.js b/src/PrettyPrinter.js index 9bf7083..9d8f4f9 100644 --- a/src/PrettyPrinter.js +++ b/src/PrettyPrinter.js @@ -28,7 +28,7 @@ jasmine.PrettyPrinter.prototype.format = function(value) { } else if (value instanceof jasmine.Matchers.Any) { this.emitScalar(value.toString()); } else if (typeof value === 'string') { - this.emitScalar(value); + this.emitScalar("'" + value + "'"); } else if (typeof value === 'function') { this.emitScalar('Function'); } else if (typeof value.nodeType === 'number') {