Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit f8dda41

Browse files
authored
fix: flaky testInspectStringMultipleRulesPatientRule (#264)
1 parent c45dc27 commit f8dda41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/snippets/src/test/java/dlp/snippets/InspectTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,10 @@ public void testInspectStringCustomHotwordNegativeExample() throws Exception {
231231
@Test
232232
public void testInspectStringMultipleRulesPatientRule() throws Exception {
233233
InspectStringMultipleRules.inspectStringMultipleRules(PROJECT_ID,
234-
"patient: Jane Doe");
234+
"patient name: Jane Doe");
235235

236236
String output = bout.toString();
237-
assertThat(output).contains("VERY_LIKELY");
237+
assertThat(output).contains("LIKELY");
238238
}
239239

240240
@Test

0 commit comments

Comments
 (0)