From 26103b8548cd03f23810ac8b70a01d046e4473f2 Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Thu, 28 May 2015 15:18:39 -0700 Subject: [PATCH] Remove unnecessary code. --- src/harness/harness.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/harness/harness.ts b/src/harness/harness.ts index 244c693ad12..90afab029eb 100644 --- a/src/harness/harness.ts +++ b/src/harness/harness.ts @@ -167,7 +167,7 @@ module Utils { continue; } var child = (node)[childName]; - if (isNodeOrArray(child) && childName !== "jsDocComment") { + if (isNodeOrArray(child)) { assert.isFalse(childNodesAndArrays.indexOf(child) < 0, "Missing child when forEach'ing over node: " + (ts).SyntaxKind[node.kind] + "-" + childName); }