Fix durations (use fork with fix)

This commit is contained in:
Maksym Pavlenko
2017-08-05 14:21:09 -07:00
parent 15d58b208c
commit 372577e7f1
3 changed files with 5 additions and 0 deletions
+3
View File
@@ -20,3 +20,6 @@
# name = "github.com/x/y"
# version = "2.4.0"
[[constraint]]
name = "github.com/mxpv/podcast"
branch = "master"
+1
View File
@@ -134,6 +134,7 @@ func TestQueryVimeoVideos(t *testing.T) {
require.NotEmpty(t, item.Title)
require.NotEmpty(t, item.Link)
require.NotEmpty(t, item.GUID)
require.NotEmpty(t, item.IDuration)
require.NotNil(t, item.Enclosure)
require.NotEmpty(t, item.Enclosure.URL)
require.True(t, item.Enclosure.Length > 0)
+1
View File
@@ -92,5 +92,6 @@ func TestBuildYTFeed(t *testing.T) {
for _, item := range podcast.Items {
require.NotEmpty(t, item.Title)
require.NotEmpty(t, item.Link)
require.NotEmpty(t, item.IDuration)
}
}