Этот коммит содержится в:
=Corey Hulen
2016-03-16 18:13:16 -07:00
родитель e101b2cf7c cba59d4eb6
Коммит b9d5b4e5dc
4983 изменённых файлов: 16487 добавлений и 1611263 удалений

Просмотреть файл

@@ -56,7 +56,7 @@ func TestGetInfoForBytes(t *testing.T) {
t.Fatalf("Got HasPreviewImage = false for static gif")
}
animatedGifFile, err := ioutil.ReadFile("../web/static/images/testgif.gif")
animatedGifFile, err := ioutil.ReadFile("../tests/testgif.gif")
if err != nil {
t.Fatalf("Failed to load testgif.gif: %v", err.Error())
}

Просмотреть файл

@@ -118,5 +118,10 @@ func IsPreviousVersionsSupported(versionToCheck string) bool {
return true
}
// Current - 3 Supported
if versionsWithoutHotFixes[3] == versionToCheckStr {
return true
}
return false
}