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

fix: flaky testInspectStringMultipleRulesPatientRule #264

Merged
merged 1 commit into from Sep 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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