Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Jul 31, 2023
1 parent ff01ecd commit 66f7624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maps/synclock_map_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ func TestSyncLockMap(t *testing.T) {

t.Run("Test NewSyncLockMap without map", func(t *testing.T) {
m := NewSyncLockMap[string, string](nil)
m.Set("key1", "value1")
m.Set("key2", "value2")
_ = m.Set("key1", "value1")
_ = m.Set("key2", "value2")

if !m.Has("key1") || !m.Has("key2") {
t.Error("couldn't init SyncLockMap with NewSyncLockMap")
Expand Down

0 comments on commit 66f7624

Please sign in to comment.