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

Commit

Permalink
fix: flaky testInspectStringMultipleRulesPatientRule (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
athakor committed Sep 1, 2020
1 parent c45dc27 commit f8dda41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/snippets/src/test/java/dlp/snippets/InspectTests.java
Expand Up @@ -231,10 +231,10 @@ public void testInspectStringCustomHotwordNegativeExample() throws Exception {
@Test
public void testInspectStringMultipleRulesPatientRule() throws Exception {
InspectStringMultipleRules.inspectStringMultipleRules(PROJECT_ID,
"patient: Jane Doe");
"patient name: Jane Doe");

String output = bout.toString();
assertThat(output).contains("VERY_LIKELY");
assertThat(output).contains("LIKELY");
}

@Test
Expand Down

0 comments on commit f8dda41

Please sign in to comment.