@Test
public void parser_handles_2_inline_anchors() throws Exception {

	/* prepare */
	String text = "[[section-alpha-bravo]]\n==Headline\n\n[[section-delta-gamma]]\ntext\n[[wrong]";
	//.............01234567890123456789012 3456789012 3 456789012345678901234567 89012345
	/* execute */
	List<AsciiDoctorInlineAnchor> result = parserToTest.parse(text);
	/* test */
	/* @formatter:off*/
	assertInlineAnchors(result).
		hasInlineAnchors(2).
		hasInlineAnchor("[[section-alpha-bravo]]").
			withId("section-alpha-bravo").
			withPosition(0).
			withEnd(22).
		and().
		hasInlineAnchor("[[section-delta-gamma]]").
			withPosition(36).
			withEnd(58);
	/* @formatter:on*/
}