Skip to content

Commit aa53f6e

Browse files
committed
Update app/src/test/java/it/niedermann/owncloud/notes/shared/util/NoteUtilTest.kt
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
1 parent c24d09b commit aa53f6e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

app/src/test/java/it/niedermann/owncloud/notes/shared/util/NoteUtilTest.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ class NoteUtilTest : TestCase() {
138138
}
139139

140140
private fun testEdgeCases() {
141-
// Note: isHtml() matches <String> as a tag, so the excerpt strips it. This is a known
142-
// limitation of the broad HTML detection heuristic; the important property is that the
143141
// excerpt is always truncated to 200 chars rather than storing the full note content.
144142
val code = "if (a < b && b > c) { List<String> names = new ArrayList<>(); }"
145143
val codeExcerpt = NoteUtil.generateNoteExcerpt(code, "Java Logic")

0 commit comments

Comments
 (0)