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

28 lines
517 B
TypeScript

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