Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,32 @@ class Test {}
doFormatTest(input, expected);
}

@Test
public void moeCommentAtStartOfDoc() {
String input =
"""
/**
* <!-- moe:begin_intracomment_strip -->
* Foo.
* <!-- moe:end_intracomment_strip -->
*/
class Test {}\
"""
.replace("moe", "MOE");
String expected =
"""
/**
*
* <!-- moe:begin_intracomment_strip -->
* Foo.
* <!-- moe:end_intracomment_strip -->
*/
class Test {}
"""
.replace("moe", "MOE");
doFormatTest(input, expected);
}

@Test
public void tableMostlyUntouched() {
String input =
Expand Down
Loading