From 27d783466d5c4a2bc37e610d62ea9d02d19e807e Mon Sep 17 00:00:00 2001 From: Felix Jung Date: Tue, 29 Oct 2024 09:37:03 +0100 Subject: [PATCH] Bump project coverage --- orderedmap/orderedmap_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/orderedmap/orderedmap_test.go b/orderedmap/orderedmap_test.go index b1637872..d73fa343 100644 --- a/orderedmap/orderedmap_test.go +++ b/orderedmap/orderedmap_test.go @@ -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)