aboutsummaryrefslogtreecommitdiff
path: root/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'main_test.go')
-rw-r--r--main_test.go27
1 files changed, 0 insertions, 27 deletions
diff --git a/main_test.go b/main_test.go
index 1c6363b..96c8d11 100644
--- a/main_test.go
+++ b/main_test.go
@@ -87,7 +87,6 @@ func TestFindEpisodes(t *testing.T) {
var tests = []string{
"episodes",
"episodes.59798",
- "episodes.63147",
}
for _, test := range tests {
@@ -133,32 +132,6 @@ func TestUpdatingFeed(t *testing.T) {
}
}
-func TestVideoFeed(t *testing.T) {
- var page []byte
-
- feed := &feeds.Feed{
- Link: &feeds.Link{Href: "http://www.radiorus.ru/brand/63147/episodes"},
- }
-
- page = helperLoadBytes(t, "episodes.63147")
- page = cleanText(page)
-
- if err := populateFeed(feed, page); err != nil {
- t.Fatal(err)
- }
-
- actual := createFeed(feed)
- golden := filepath.Join("testdata", t.Name()+".golden")
- if *update {
- writeFile(actual, golden)
- }
- expected, _ := ioutil.ReadFile(golden)
-
- if !bytes.Equal(actual, expected) {
- t.Fail()
- }
-}
-
func TestMissingEpisode(t *testing.T) {
server := helperMockServer(t)
defer helperCleanupServer(t)