From 2bed32d30862b9bf6b3c202f1ce907129804eb95 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Fri, 3 Jun 2016 09:08:48 -0700 Subject: [PATCH] Fix mistake --- src/harness/fourslash.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/harness/fourslash.ts b/src/harness/fourslash.ts index dde021d1f5c..c05fca5bb47 100644 --- a/src/harness/fourslash.ts +++ b/src/harness/fourslash.ts @@ -1745,7 +1745,7 @@ namespace FourSlash { function jsonMismatchString() { return Harness.IO.newLine() + - "expected: '" + Harness.IO.newLine() + stringify(expected, undefined, 2) + "'" + Harness.IO.newLine() + + "expected: '" + Harness.IO.newLine() + stringify(expected) + "'" + Harness.IO.newLine() + "actual: '" + Harness.IO.newLine() + stringify(actual) + "'"; } } @@ -2138,7 +2138,7 @@ namespace FourSlash { const itemsString = items.map(item => stringify({ name: item.name, kind: item.kind })).join(",\n"); - this.raiseError(`Expected "${stringify({ name, text, documentation, kind )}" to be in list [${itemsString}]`); + this.raiseError(`Expected "${stringify({ name, text, documentation, kind })}" to be in list [${itemsString}]`); } private findFile(indexOrName: any) {