Test cases for arrow function expression

This commit is contained in:
Sheetal Nandi
2014-11-21 13:02:53 -08:00
parent d0d8c94377
commit 60c2d63987
@@ -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" },