Skip to content

Commit a5f7fc0

Browse files
committed
Fixes type in test assertion
1 parent 4baae60 commit a5f7fc0

File tree

1 file changed

+2
-2
lines changed
  • language/analysis/src/test/java/com/google/cloud/language/samples

1 file changed

+2
-2
lines changed

language/analysis/src/test/java/com/google/cloud/language/samples/AnalyzeIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public class AnalyzeIT {
9090
.collect(Collectors.toList());
9191

9292
// Assert
93-
assertThat(got).containsExactly("NOUN", "NOUN", "VERB",
94-
"VERB", "ADP", "DET", "ADJ", "NOUN").inOrder();
93+
assertThat(got).containsExactly(Tag.NOUN, Tag.NOUN, Tag.VERB,
94+
Tag.VERB, Tag.ADP, Tag.DET, Tag.ADJ, Tag.NOUN).inOrder();
9595
}
9696
}

0 commit comments

Comments
 (0)