add features
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package browsing
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestPodcastDescriptionText(t *testing.T) {
|
||||
got := podcastDescriptionText(`<![CDATA[<p>Hello <em>podcast</em> & listeners.</p>]]>`)
|
||||
if want := "Hello podcast & listeners."; got != want {
|
||||
t.Fatalf("got %q, want %q", got, want)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user