We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54537d2 commit 89549faCopy full SHA for 89549fa
firestore/src/test/java/com/example/firestore/snippets/ManageDataSnippetsIT.java
@@ -165,7 +165,8 @@ public void testTransactionReturnsInfo() throws Exception {
165
assertEquals(info, "Population increased to 51");
166
try {
167
info = manageDataSnippets.returnInfoFromTransaction(5000001L);
168
- assertTrue("Should never get here", false);
+ assertTrue("returnInfoFromTransaction should have failed,"
169
+ + " instead returned info: " + info, false);
170
} catch (Exception e) {
171
assertTrue(e.getMessage().contains("Sorry! Population is too big."));
172
}
0 commit comments