@Test
public void parser_handles_2_custom_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(21).
		and().
		hasInlineAnchor("[#section-delta-gamma]").
			withPosition(35).
			withEnd(56);
	/* @formatter:on*/
}