mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-26 14:57:38 +03:00
Fix unit tests
This commit is contained in:
parent
f823e48c7c
commit
0cfcb31f7d
1 changed files with 4 additions and 4 deletions
|
@ -63,9 +63,9 @@ public class NoteUtilTest extends TestCase {
|
|||
}
|
||||
|
||||
public void testGenerateNoteExcerpt() {
|
||||
assertEquals("", NoteUtil.generateNoteExcerpt("Test", false));
|
||||
assertEquals("Foo", NoteUtil.generateNoteExcerpt("Test\nFoo", false));
|
||||
assertEquals("Foo Bar", NoteUtil.generateNoteExcerpt("Test\nFoo\nBar", false));
|
||||
assertEquals("", NoteUtil.generateNoteExcerpt("", false));
|
||||
assertEquals("", NoteUtil.generateNoteExcerpt("Test"));
|
||||
assertEquals("Foo", NoteUtil.generateNoteExcerpt("Test\nFoo"));
|
||||
assertEquals("Foo Bar", NoteUtil.generateNoteExcerpt("Test\nFoo\nBar"));
|
||||
assertEquals("", NoteUtil.generateNoteExcerpt(""));
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue