|
|
|
@ -47,9 +47,10 @@ public class CompoundConfigurationTableEntryTests {
|
|
|
|
|
entry.addConfigurationKeys(firstProp, secondProp, thirdProp);
|
|
|
|
|
AsciidocBuilder builder = new AsciidocBuilder();
|
|
|
|
|
entry.write(builder);
|
|
|
|
|
assertThat(builder.toString()).isEqualTo("|`+++spring.test.first" + NEWLINE
|
|
|
|
|
+ "spring.test.second" + NEWLINE + "spring.test.third" + NEWLINE + "+++`"
|
|
|
|
|
+ NEWLINE + "|" + NEWLINE + "|+++This is a description.+++" + NEWLINE);
|
|
|
|
|
assertThat(builder.toString()).isEqualTo(
|
|
|
|
|
"|`+spring.test.first+` +" + NEWLINE + "`+spring.test.second+` +"
|
|
|
|
|
+ NEWLINE + "`+spring.test.third+` +" + NEWLINE + NEWLINE + "|"
|
|
|
|
|
+ NEWLINE + "|+++This is a description.+++" + NEWLINE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|