Skip to content

Commit 1842dd0

Browse files
Added test case for adjacent braces.
1 parent 36308fd commit 1842dd0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
////function f[|<T>|][|(x: T)|][|{
2+
//// return x;
3+
////}|]
4+
5+
// If there is an adjacent opening and closing brace,
6+
// then only the opening brace should get highlighted.
7+
test.ranges().forEach(range => {
8+
verify.matchingBracePositionInCurrentFile(range.start, range.end - 1);
9+
});

0 commit comments

Comments
 (0)