Added test case for adjacent braces.

This commit is contained in:
Daniel Rosenwasser 2014-09-23 08:23:59 -07:00
parent 36308fd493
commit 1842dd0568

View File

@ -0,0 +1,9 @@
////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);
});