We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89e525c commit 8a4e8e9Copy full SHA for 8a4e8e9
1 file changed
core/src/test/java/com/google/googlejavaformat/java/JavadocFormattingTest.java
@@ -1993,11 +1993,10 @@ public void markdownAutolinks() {
1993
assume().that(MARKDOWN_JAVADOC_SUPPORTED).isTrue();
1994
String input =
1995
"""
1996
- /// <http://example.com> should be preserved.
+ /// <http://{@code example.com> <br> is not inside @code}.
1997
class Test {}
1998
""";
1999
- // TODO: find a test case that will break if autolinks are not handled correctly.
2000
- // Probably something like: <http://{@code>this should not be handled like a code span}
+ // TODO: the <br> should trigger a line break since it is not in fact inside {@code ...}.
2001
String expected = input;
2002
doFormatTest(input, expected);
2003
}
0 commit comments