Skip to content

Commit

Permalink
Fix TestSimpleCache_Multiple (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
apocelipes authored Nov 11, 2024
1 parent 476406e commit a396a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/badges/simplecache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestSimpleCache_Multiple(t *testing.T) {
simpleCache.Add(fmt.Sprintf("%d", i), []byte{})
}

simpleCache.Add("10", []byte{})
simpleCache.Add("test-key", []byte{})

if len(simpleCache.items) != 10 {
t.Errorf("expected 10 items got %v", len(simpleCache.items))
Expand Down

0 comments on commit a396a4e

Please sign in to comment.