Fix upstream build
MODIFY
asciidoctorj-core/src/test/groovy/org/asciidoctor/extension/GithubContributorsBlockMacro.groovy
asciidoctorj-core/src/test/groovy/org/asciidoctor/extension/GithubContributorsBlockMacro.groovy
@@ -47,7 +47,7 @@ class GithubContributorsBlockMacro extends BlockMacroProcessor {
Row row = createTableRow(table)
Document document = createDocument(parent.getDocument())
- document.blocks << createBlock(document, IMAGE, null, ['type': IMAGE, 'target': contributor.avatar_url])
+ document.blocks << createBlock(document, IMAGE, null, ['type': IMAGE, 'target': contributor.avatar_url, 'alt': "Avatar of ${contributor.login}" as String])
Cell avatarCell = createTableCell(loginColumn, document)
row.cells << avatarCell
row.cells << createTableCell(loginColumn, contributor.login)

MODIFY
asciidoctorj-core/src/test/java/org/asciidoctor/WhenAsciiDocIsRenderedToDocument.java
asciidoctorj-core/src/test/java/org/asciidoctor/WhenAsciiDocIsRenderedToDocument.java
@@ -72,7 +72,7 @@ public class WhenAsciiDocIsRenderedToDocument {
Document document = asciidoctor.load(DOCUMENT, new HashMap<String, Object>());
Section section = (Section) document.blocks().get(1);
assertThat(section.index(), is(0));
- assertThat(section.sectname(), is("sect1"));
+ assertThat(section.sectname(), either(is("sect1")).or(is("section")));
assertThat(section.special(), is(false));
}

Fix upstream build (#559)