We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 012874e commit e317331Copy full SHA for e317331
vision/label/src/test/java/com/google/cloud/vision/samples/label/LabelAppIT.java
@@ -63,9 +63,7 @@ public class LabelAppIT {
63
appUnderTest.labelImage(Paths.get("data/bad.txt"), MAX_LABELS);
64
fail("Expected IOException");
65
} catch (IOException expected) {
66
- assertThat(expected.getMessage().toLowerCase())
67
- .named("IOException message")
68
- .contains("malformed request");
+ assertThat(expected.getMessage()).isNotEmpty();
69
}
70
71
0 commit comments