mirror of
https://github.com/mpolden/echoip.git
synced 2025-07-17 14:33:30 +02:00
http, cache: Track evictions
This commit is contained in:
@ -187,7 +187,7 @@ func TestCacheHandler(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
want := `{"size":0,"capacity":100}`
|
||||
want := `{"size":0,"capacity":100,"evictions":0}`
|
||||
if got != want {
|
||||
t.Errorf("got %q, want %q", got, want)
|
||||
}
|
||||
|
Reference in New Issue
Block a user