Split the @Test annotation in new line

This commit is contained in:
Usman Mohyuddin
2020-09-15 15:09:35 +05:00
parent a12a884d15
commit b887043c42

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, "")