Skip to content

Commit

Permalink
Adding JUnit with full coverage. Fixes apolloconfig#3874.
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush0407 committed Mar 31, 2022
1 parent 5042a88 commit 45a3d0d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,9 @@ public void testFilterPropertiesComment() {
PropertiesUtil.filterPropertiesComment(sb3);
assertEquals("bbb", sb3.toString());
assertNotEquals("#aaaaa" + System.lineSeparator() + "bbb", sb3.toString());

StringBuffer sb4 = new StringBuffer("#aaaa");
PropertiesUtil.filterPropertiesComment(sb4);
assertEquals("#aaaa", sb4.toString());
}
}

0 comments on commit 45a3d0d

Please sign in to comment.