Skip to content

Commit

Permalink
Bump project coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
felixjung authored and daveshanley committed Oct 29, 2024
1 parent c8c2d35 commit 27d7834
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 27d7834

Please sign in to comment.