Files
core/maps/copy_test.go
2023-08-08 16:53:31 +03:00

19 lines
209 B
Go

package maps
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestCopy(t *testing.T) {
a := map[string]string{
"foo": "bar",
"bar": "foo",
}
b := Copy(a)
require.Equal(t, a, b)
}