func Test_FilterExtrakeys_Empty(t *testing.T) { m, v := FilterExtrakeys(map[string]string{}) testhelpers.AssertStringArray(t, []string{}, v) testhelpers.AssertStringMap(t, map[string]string{}, m) }
func Test_FilterExtrakeys_Keeping(t *testing.T) { m, v := FilterExtrakeys(map[string]string{"foo": "hello", "bib-bar": "bye"}) testhelpers.AssertStringArray(t, v, []string{"bar"}) testhelpers.AssertStringMap(t, map[string]string{"bar": "bye"}, m) }
func Test_Intersectsorted_empty(t *testing.T) { m := intersectsorted([]string{}, []string{}) testhelpers.AssertStringArray(t, []string{}, m) }
func Test_FilterExtrakeys_Removing(t *testing.T) { m, v := FilterExtrakeys(map[string]string{"foo": "hello"}) testhelpers.AssertStringArray(t, []string{}, v) testhelpers.AssertStringMap(t, map[string]string{}, m) }