Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry committed Dec 6, 2023
1 parent 0b6a757 commit 6b2fa2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,6 @@ private static void assertGenerated(String expected, Class<?> clazz, boolean sta
}

private static String fixNewlines(String input) {
return input.replaceAll("[\n\r]]", System.lineSeparator());
return input.replaceAll("[\n\r]", System.lineSeparator());
}
}

0 comments on commit 6b2fa2a

Please sign in to comment.