Skip to content

Commit

Permalink
Apply spotless suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbarny committed Feb 21, 2024
1 parent 2030a4b commit 6be5fc8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Expand Up @@ -1589,9 +1589,9 @@ public void testAutoFlattenObjectsSubobjectsMergeConflictingMappingParameter() t
assertThat(
e.getMessage(),
containsString(
"Failed to parse mapping: Object mapper [parent] was found in a context where subobjects is set to false. " +
"Auto-flattening [parent] failed because the value of [dynamic] (FALSE) is not compatible " +
"with the value from its parent context (TRUE)"
"Failed to parse mapping: Object mapper [parent] was found in a context where subobjects is set to false. "
+ "Auto-flattening [parent] failed because the value of [dynamic] (FALSE) is not compatible "
+ "with the value from its parent context (TRUE)"
)
);
}
Expand Down Expand Up @@ -1630,9 +1630,9 @@ public void testAutoFlattenObjectsSubobjectsMergeConflictingMappingParameterRoot
assertThat(
e.getMessage(),
containsString(
"Failed to parse mapping: Object mapper [parent] was found in a context where subobjects is set to false. " +
"Auto-flattening [parent] failed because the value of [dynamic] (TRUE) is not compatible " +
"with the value from its parent context (FALSE)"
"Failed to parse mapping: Object mapper [parent] was found in a context where subobjects is set to false. "
+ "Auto-flattening [parent] failed because the value of [dynamic] (TRUE) is not compatible "
+ "with the value from its parent context (FALSE)"
)
);
}
Expand Down
Expand Up @@ -595,9 +595,9 @@ public void testFlattenDynamicIncompatible() {
() -> objectMapper.asFlattenedFieldMappers(rootContext)
);
assertEquals(
"Object mapper [parent.child] was found in a context where subobjects is set to false. " +
"Auto-flattening [parent.child] failed because the value of [dynamic] (FALSE) is not compatible with " +
"the value from its parent context (TRUE)",
"Object mapper [parent.child] was found in a context where subobjects is set to false. "
+ "Auto-flattening [parent.child] failed because the value of [dynamic] (FALSE) is not compatible with "
+ "the value from its parent context (TRUE)",
exception.getMessage()
);
}
Expand Down

0 comments on commit 6be5fc8

Please sign in to comment.