1111import java .util .function .Function ;
1212import java .util .stream .Collectors ;
1313
14- public class YoutubeDescriptionHelperTest {
14+ class YoutubeDescriptionHelperTest {
1515
1616 private static void assertRunsToHtml (final String expectedHtml ,
1717 final List <Run > openers ,
@@ -32,17 +32,17 @@ private static void assertRunsToHtml(final String expectedHtml,
3232 }
3333
3434 @ Test
35- public void testNoRuns () {
35+ void testNoRuns () {
3636 assertRunsToHtml (
37- "abc *a* _c_ <br> <br> <a href=\" # \" >test</a> &amp;" ,
37+ "abc *a* _c_ <br> <br> <a href="#" >test</a> &amp;" ,
3838 List .of (),
3939 List .of (),
4040 "abc *a* _c_ <br>\u00a0 \n \u00a0 <a href=\" #\" >test</a> &"
4141 );
4242 }
4343
4444 @ Test
45- public void testNormalRuns () {
45+ void testNormalRuns () {
4646 assertRunsToHtml (
4747 "<A>hel<B>lo </B>nic</A>e <C>test</C>" ,
4848 List .of (new Run ("<A>" , "</A>" , 0 ), new Run ("<B>" , "</B>" , 3 ),
@@ -54,7 +54,7 @@ public void testNormalRuns() {
5454 }
5555
5656 @ Test
57- public void testOverlappingRuns () {
57+ void testOverlappingRuns () {
5858 assertRunsToHtml (
5959 "01<A>23<B>45</B></A><B>67</B>89" ,
6060 List .of (new Run ("<A>" , "</A>" , 2 ), new Run ("<B>" , "</B>" , 4 )),
@@ -64,7 +64,7 @@ public void testOverlappingRuns() {
6464 }
6565
6666 @ Test
67- public void testTransformingRuns () {
67+ void testTransformingRuns () {
6868 final Function <String , String > tA = content -> "whatever" ;
6969 final Function <String , String > tD
7070 = content -> Integer .parseInt (content ) % 2 == 0 ? "even" : "odd" ;
0 commit comments