Skip to content

Commit 29bb0e9

Browse files
authored
Fix line length formatting violations
1 parent 69d8d09 commit 29bb0e9

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

dlp/src/test/java/com/example/dlp/InspectIT.java

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,12 @@ public void testStringInspectionReturnsCustomInfoTypes() throws Exception {
7070
"\"My phone number is (234) 456-7890 and my email address is [email protected]\"";
7171
Inspect.main(
7272
new String[] {
73-
"-s", text, "-customDictionaries", "[email protected]", "-customRegexes", "\\(\\d{3}\\) \\d{3}-\\d{4}"
73+
"-s",
74+
text,
75+
"-customDictionaries",
76+
77+
"-customRegexes",
78+
"\\(\\d{3}\\) \\d{3}-\\d{4}"
7479
});
7580
String output = bout.toString();
7681

@@ -82,7 +87,7 @@ public void testStringInspectionReturnsCustomInfoTypes() throws Exception {
8287
public void testTextFileInspectionReturnsInfoTypes() throws Exception {
8388
Inspect.main(
8489
new String[] {
85-
"-f", "src/test/resources/test.txt", "-infoTypes", "PHONE_NUMBER", "EMAIL_ADDRESS"
90+
"-f", "src/test/resources/test.txt", "-infoTypes", "PHONE_NUMBER", "EMAIL_ADDRESS"
8691
});
8792
String output = bout.toString();
8893
assertThat(output, containsString("PHONE_NUMBER"));
@@ -93,12 +98,12 @@ public void testTextFileInspectionReturnsInfoTypes() throws Exception {
9398
public void testTextFileInspectionReturnsCustomInfoTypes() throws Exception {
9499
Inspect.main(
95100
new String[] {
96-
"-f",
97-
"src/test/resources/test.txt",
98-
"-customDictionaries",
99-
100-
"-customRegexes",
101-
"\\(\\d{3}\\) \\d{3}-\\d{4}"
101+
"-f",
102+
"src/test/resources/test.txt",
103+
"-customDictionaries",
104+
105+
"-customRegexes",
106+
"\\(\\d{3}\\) \\d{3}-\\d{4}"
102107
});
103108
String output = bout.toString();
104109
assertThat(output, containsString("CUSTOM_DICTIONARY_0"));

0 commit comments

Comments
 (0)