diff --git a/reversemap/reversemap_test.go b/reversemap/reversemap_test.go index 95a7df3..487ecaf 100644 --- a/reversemap/reversemap_test.go +++ b/reversemap/reversemap_test.go @@ -48,6 +48,10 @@ func TestReverseMap(t *testing.T) { 6: 3, }, }, + { + forward: map[string]int{}, + backward: map[int]string{}, + }, } for _, d := range data { t.Run(reflect.TypeOf(d.forward).String(), func(t *testing.T) {