Fixing styling issues for caching.

This commit is contained in:
Burcu Dogan
2014-05-22 14:33:36 +02:00
parent 0476447419
commit 6bb3577bf0
3 changed files with 18 additions and 14 deletions

View File

@@ -12,7 +12,7 @@ import (
func TestFileCacheErrorHandling(t *testing.T) {
var lastErr error
fileCache := NewFileCache("/path/that/doesnt/exist")
fileCache.ErrorHandlerFunc = func(err error) {
fileCache.ErrorHandler = func(err error) {
lastErr = err
}
fileCache.Read()