Split the @Test annotation in new line

This commit is contained in:
Usman Mohyuddin 2020-09-15 15:09:35 +05:00
parent 43fb479c81
commit 40ebac5142
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ class RemovePrefixTest {
Assert.assertEquals(expected, actual)
}
@Test public void whenPrefixIsRemovedUsingReplaceFirst_thenReturnTrue() {
@Test
public void whenPrefixIsRemovedUsingReplaceFirst_thenReturnTrue() {
def regex = ~"^groovy"
String trimPrefix = "groovyTutorials at Baeldung's groovy page"
String actual = trimPrefix.replaceFirst(regex, "")