Add missed branch
This commit is contained in:
parent
da02308498
commit
ed0e3bd871
@ -80,9 +80,11 @@ public class JavaTest {
|
|||||||
@DisplayName("Test isCommentedSelection")
|
@DisplayName("Test isCommentedSelection")
|
||||||
public void testIsCommentedSelection() {
|
public void testIsCommentedSelection() {
|
||||||
String commentedSelection = "/* \n * test\n */";
|
String commentedSelection = "/* \n * test\n */";
|
||||||
|
String halfwayCommentedSelection = "/* \n test\n */";
|
||||||
String unCommentedSelection = "test";
|
String unCommentedSelection = "test";
|
||||||
|
|
||||||
assertTrue(lang.isCommentedSelection(commentedSelection));
|
assertTrue(lang.isCommentedSelection(commentedSelection));
|
||||||
|
assertFalse(lang.isCommentedSelection(halfwayCommentedSelection));
|
||||||
assertFalse(lang.isCommentedSelection(unCommentedSelection));
|
assertFalse(lang.isCommentedSelection(unCommentedSelection));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user