TypeScript/tests/cases/fourslash/getMatchingBracesAdjacentBraces.ts
2014-09-23 08:23:59 -07:00

9 lines
293 B
TypeScript

////function f[|<T>|][|(x: T)|][|{
//// return x;
////}|]
// If there is an adjacent opening and closing brace,
// then only the opening brace should get highlighted.
test.ranges().forEach(range => {
verify.matchingBracePositionInCurrentFile(range.start, range.end - 1);
});