minor changes

This commit is contained in:
aditya-K2 2021-11-14 20:58:06 +05:30
parent 84535b2901
commit 05935c152a

2
cache/cache_test.go vendored
View File

@ -4,7 +4,7 @@ import "testing"
func TestLoadCache(t *testing.T) { func TestLoadCache(t *testing.T) {
expectedResult := [2]string{"hello/wer.jpg", "hello/iwer.jpg"} expectedResult := [2]string{"hello/wer.jpg", "hello/iwer.jpg"}
loadCache("./testdata/cache.txt") LoadCache("./testdata/cache.txt")
var i int = 0 var i int = 0
for _, v := range CACHE_LIST { for _, v := range CACHE_LIST {
if v != expectedResult[i] { if v != expectedResult[i] {