Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit d19643e

Browse files
do not support escaped backslash in ignore file
1 parent 40533ff commit d19643e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

standalone/src/test/java/com/trivadis/plsql/formatter/sqlcl/tests/TvdFormatIgnoreTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ public void ignore_two_files() throws IOException {
5757
public void ignore_two_files_windows_separator() throws IOException {
5858
// must run in an own test class, reason is not clear
5959
var ignoreFileContent = """
60-
# ignore package bodies
61-
**\\\\*.pkb
60+
# ignore package bodies (single backslash)
61+
**\\*.pkb
6262
63-
# Ignore files with syntax errors
64-
**\\\\*syntax*
63+
# Ignore files with syntax errors (single backslash)
64+
**\\*syntax*
6565
""";
6666
final Path ignoreFile = Paths.get(tempDir + File.separator + "ignore2.txt");
6767
Files.write(ignoreFile, ignoreFileContent.getBytes());

0 commit comments

Comments
 (0)