Skip to content

Commit d580544

Browse files
authored
fix: flaky testInspectStringMultipleRulesPatientRule (#264)
1 parent 371b755 commit d580544

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dlp/snippets/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)