You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google-cloud-firestore/src/test/java/com/google/cloud/firestore/DocumentReferenceTest.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -180,19 +180,19 @@ public void doesNotSerializeAdvancedNumberTypes() {
180
180
pojo.bigIntegerValue = newBigInteger("0");
181
181
expectedErrorMessages.put(
182
182
pojo,
183
-
"Could not serialize object. Numbers of type BigInteger are not supported, please use an int, long, floator double (found in field 'bigIntegerValue')");
183
+
"Could not serialize object. Numbers of type BigInteger are not supported, please use an int, long, float, double or BigDecimal (found in field 'bigIntegerValue')");
184
184
185
185
pojo = newInvalidPOJO();
186
186
pojo.byteValue = 0;
187
187
expectedErrorMessages.put(
188
188
pojo,
189
-
"Could not serialize object. Numbers of type Byte are not supported, please use an int, long, floator double (found in field 'byteValue')");
189
+
"Could not serialize object. Numbers of type Byte are not supported, please use an int, long, float, double or BigDecimal (found in field 'byteValue')");
190
190
191
191
pojo = newInvalidPOJO();
192
192
pojo.shortValue = 0;
193
193
expectedErrorMessages.put(
194
194
pojo,
195
-
"Could not serialize object. Numbers of type Short are not supported, please use an int, long, floator double (found in field 'shortValue')");
195
+
"Could not serialize object. Numbers of type Short are not supported, please use an int, long, float, double or BigDecimal (found in field 'shortValue')");
196
196
197
197
for (Map.Entry<InvalidPOJO, String> testCase : expectedErrorMessages.entrySet()) {
0 commit comments