From b91d14fd6cc0d4be8611451813ee7ecbea85f713 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Mon, 16 May 2016 06:41:39 -0700 Subject: [PATCH] Test expressions with no name --- tests/cases/fourslash/declarationExpressions.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/cases/fourslash/declarationExpressions.ts b/tests/cases/fourslash/declarationExpressions.ts index 22d623c5573..7f2a64d8ecf 100644 --- a/tests/cases/fourslash/declarationExpressions.ts +++ b/tests/cases/fourslash/declarationExpressions.ts @@ -6,8 +6,9 @@ ////}; ////function D() {} ////const E = function F() {} -////console.log(function inner() {}) -////String(function fun() { class cls { public prop; } })) +////console.log(function() {}, class {}); // Expression with no name should have no effect. +////console.log(function inner() {}); +////String(function fun() { class cls { public prop; } })); function navExact(name: string, kind: string) { verify.navigationItemsListContains(name, kind, name, "exact");