TypeScript/tests/cases/fourslash/getOccurrencesThrow7.ts
2015-03-02 14:41:44 -08:00

31 lines
565 B
TypeScript

/// <reference path='fourslash.ts' />
////try {
//// [|throw|] 10;
////
//// try {
//// throw 10;
//// }
//// catch (x) {
//// [|throw|] 10;
//// }
//// finally {
//// [|throw|] 10;
//// }
////}
////finally {
//// [|throw|] 10;
////}
////
////[|throw|] 10;
test.ranges().forEach(r => {
goTo.position(r.start);
test.ranges().forEach(range => {
verify.occurrencesAtPositionContains(range, false);
});
verify.occurrencesAtPositionCount(test.ranges().length);
});