// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved. // SPDX-License-Identifier: Apache-2.0 package processor // import "miniflux.app/v2/internal/reader/processor" import ( "testing" ) func TestMinifyEntryContent(t *testing.T) { input := `

Some text with a link

` expected := `

Some text with a link

` result := minifyContent(input) if expected != result { t.Errorf(`Unexpected result, got %q`, result) } }