Skip to content

Commit

Permalink
Add emptyMapLiteralWithParentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
jevanlingen committed Dec 19, 2024
1 parent 8e2222b commit 2ce482b
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ void emptyMapLiteral() {
);
}

@Test
void emptyMapLiteralWithParentheses() {
rewriteRun(
groovy("Map m = ([ : ])")
);
}

@Test
void mapAccess() {
rewriteRun(
Expand Down

0 comments on commit 2ce482b

Please sign in to comment.