From 0cfcb31f7d6fe06d6eef918ff01b1102bb49ed75 Mon Sep 17 00:00:00 2001 From: Stefan Niedermann Date: Wed, 10 Jun 2020 18:15:22 +0200 Subject: [PATCH] Fix unit tests --- .../it/niedermann/owncloud/notes/util/NoteUtilTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/test/java/it/niedermann/owncloud/notes/util/NoteUtilTest.java b/app/src/test/java/it/niedermann/owncloud/notes/util/NoteUtilTest.java index 7504c032..8f892311 100644 --- a/app/src/test/java/it/niedermann/owncloud/notes/util/NoteUtilTest.java +++ b/app/src/test/java/it/niedermann/owncloud/notes/util/NoteUtilTest.java @@ -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("")); } } \ No newline at end of file