From 60c2d63987f9f094060a919ae4db49f5edf1233e Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 21 Nov 2014 13:02:53 -0800 Subject: [PATCH] Test cases for arrow function expression --- .../fourslash/quickInfoDisplayPartsArrowFunctionExpression.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cases/fourslash/quickInfoDisplayPartsArrowFunctionExpression.ts b/tests/cases/fourslash/quickInfoDisplayPartsArrowFunctionExpression.ts index 24978cd44e1..3d996ae53ca 100644 --- a/tests/cases/fourslash/quickInfoDisplayPartsArrowFunctionExpression.ts +++ b/tests/cases/fourslash/quickInfoDisplayPartsArrowFunctionExpression.ts @@ -17,7 +17,7 @@ function verifyInstance(instanceName: string, paramCount: number, type: string) if (i) { displayParts.push({ text: ",", kind: "punctuation" }, { text: " ", kind: "space" }); } - displayParts.push({ text: i ? "a" : "b", kind: "parameterName" }, { text: ":", kind: "punctuation" }, + displayParts.push({ text: !i ? "a" : "b", kind: "parameterName" }, { text: ":", kind: "punctuation" }, { text: " ", kind: "space" }, { text: type, kind: "keyword" }); } displayParts.push({ text: ")", kind: "punctuation" }, { text: " ", kind: "space" },