mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-05-05 09:42:40 +02:00
add more tests: mostly trivial checks
This commit is contained in:
parent
b984bd0796
commit
0791f8ceec
3 changed files with 48 additions and 1 deletions
|
|
@ -24,4 +24,8 @@ func TestNopCache(t *testing.T) {
|
|||
if ok != false {
|
||||
t.Errorf("NopCache.Get returned ok = true, should always be false.")
|
||||
}
|
||||
|
||||
// nothing to test on these methods other than to verify they exist
|
||||
NopCache.Set("", []byte{})
|
||||
NopCache.Delete("")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue