TypeScript/tests/cases/fourslash/scriptLexicalStructureMissingName1.ts
Daniel Rosenwasser 0e9561194b Added tests.
2014-12-03 15:05:38 -08:00

17 lines
461 B
TypeScript

////export function
/////**
//// * This is a class.
//// */
////{| "itemName": "C", "kind": "class" |} class C {
//// {| "itemName": "foo", "kind": "method" |} foo() {
//// }
////}
test.markers().forEach((marker) => {
verify.getScriptLexicalStructureListContains(marker.data.itemName, marker.data.kind, marker.fileName, marker.data.parentName);
});
/// Only have two named elements.
verify.getScriptLexicalStructureListCount(2);