We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 102ebf2 + e317331 commit 1169536Copy full SHA for 1169536
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