Skip to content

Commit be23196

Browse files
shollymandzlier-gcp
authored andcommitted
vision: relax another case comparison in vision (labels). (GoogleCloudPlatform#1328)
Missed this as I was focused on the detect samples, and missed this additional failure in labeling.
1 parent d59c3a2 commit be23196

File tree

1 file changed

+1
-1
lines changed
  • vision/label/src/test/java/com/google/cloud/vision/samples/label

1 file changed

+1
-1
lines changed

vision/label/src/test/java/com/google/cloud/vision/samples/label/LabelAppIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class LabelAppIT {
4949

5050
ImmutableSet.Builder<String> builder = ImmutableSet.builder();
5151
for (EntityAnnotation label : labels) {
52-
builder.add(label.getDescription());
52+
builder.add(label.getDescription().toLowerCase());
5353
}
5454
ImmutableSet<String> descriptions = builder.build();
5555

0 commit comments

Comments
 (0)