Typos a/an (#13876)
This commit is contained in:
@@ -70,7 +70,7 @@ class QueryResultJSONEncoderTest {
|
||||
}
|
||||
|
||||
private void assertReadGivenValuesDecodedFromJson(Map<?, ?> firstRow) {
|
||||
assertThat(firstRow.get("strValue"), is("an string"));
|
||||
assertThat(firstRow.get("strValue"), is("a string"));
|
||||
|
||||
Object doubleValue = firstRow.get("doubleValue");
|
||||
assertThat(doubleValue, instanceOf(Number.class));
|
||||
@@ -124,7 +124,7 @@ class QueryResultJSONEncoderTest {
|
||||
|
||||
private Map<String, @Nullable Object> givenRowValues() {
|
||||
Map<String, @Nullable Object> values = new HashMap<>();
|
||||
values.put("strValue", "an string");
|
||||
values.put("strValue", "a string");
|
||||
values.put("doubleValue", 2.3d);
|
||||
values.put("intValue", 3);
|
||||
values.put("longValue", Long.MAX_VALUE);
|
||||
|
||||
Reference in New Issue
Block a user