Browse Source

remove test prefix name

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 6 years ago
parent
commit
1646e46bde
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/test/java/com/owncloud/android/utils/StringUtilsTest.java

+ 2 - 2
src/test/java/com/owncloud/android/utils/StringUtilsTest.java

@@ -7,7 +7,7 @@ import static org.junit.Assert.assertEquals;
 public class StringUtilsTest {
 
     @Test
-    public void searchAndColor_assertCorrectSingleSearchMatch() {
+    public void assertCorrectSingleSearchMatch() {
 
         String text = "this is a simple test";
         String searchText = "simple";
@@ -20,7 +20,7 @@ public class StringUtilsTest {
     }
 
     @Test
-    public void searchAndColor_assertTextReturnedIfSearchTextIsEmpty() {
+    public void assertTextReturnedIfSearchTextIsEmpty() {
         String helloWorld = "hello world";
         assertEquals("text returned when searchText was not empty",
                      helloWorld, StringUtils.searchAndColor(helloWorld, "", 0));