mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-22 21:06:09 +03:00
Remove dead test code
Signed-off-by: stefan-niedermann <info@niedermann.it>
This commit is contained in:
parent
75bdb4c2cc
commit
c426e1839c
1 changed files with 0 additions and 10 deletions
|
@ -1,7 +1,5 @@
|
|||
package it.niedermann.owncloud.notes.util;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
@ -13,14 +11,6 @@ import java.util.Map;
|
|||
*/
|
||||
public class MarkDownUtilTest extends TestCase {
|
||||
|
||||
public static int getStartOfLine(@NonNull CharSequence s, int start) {
|
||||
int startOfLine = start;
|
||||
while (startOfLine > 0 && s.charAt(startOfLine - 1) != '\n') {
|
||||
startOfLine--;
|
||||
}
|
||||
return startOfLine;
|
||||
}
|
||||
|
||||
public void testGetStartOfLine() {
|
||||
//language=md
|
||||
StringBuilder test = new StringBuilder(
|
||||
|
|
Loading…
Reference in a new issue