Skip to content

Commit

Permalink
Add emptyListLiteralWithParentheses test
Browse files Browse the repository at this point in the history
  • Loading branch information
jevanlingen committed Dec 19, 2024
1 parent dcbad1b commit 27339c0
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,17 @@ void emptyListLiteral() {
);
}

@Test
void emptyListLiteralWithParentheses() {
rewriteRun(
groovy(
"""
def y = ([])
"""
)
);
}

@Test
void multilineStringWithApostrophes() {
rewriteRun(
Expand Down

0 comments on commit 27339c0

Please sign in to comment.