Skip to content

Commit

Permalink
Bump project coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
felixjung committed Oct 29, 2024
1 parent da765d9 commit b22da5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions orderedmap/orderedmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ func TestFirst(t *testing.T) {
require.Nil(t, pair)
})

t.Run("Nil map", func(t *testing.T) {
var m orderedmap.Map[string, int]
require.Nil(t, m.First())
})

t.Run("Single item", func(t *testing.T) {
m := orderedmap.New[string, int]()
m.Set("key", 1)
Expand Down

0 comments on commit b22da5d

Please sign in to comment.