Skip to content

Commit

Permalink
for testing 1234
Browse files Browse the repository at this point in the history
  • Loading branch information
hyorigo committed Jan 8, 2024
1 parent 51bc486 commit 0dbaca2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dataconv/marshal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ func TestMarshal(t *testing.T) {
{[]interface{}{fnoop}, starlark.None, "unrecognized type: (func())"},
{map[string]func(){"foo": fnoop}, starlark.None, "unrecognized type: map[string]func()"},
{map[string]interface{}{"foo": fnow}, starlark.None, "unrecognized type: (func() time.Time)"},
{map[string]complex64{"foo": 1 + 2i}, starlark.None, `unrecognized type: map[string]complex64{"foo":(1+2i)}`},
{map[complex64]complex64{1 + 2i: 3 + 4i}, starlark.None, "unrecognized type: map[complex64]complex64{(1+2i):(3+4i)}"},
{map[interface{}]interface{}{complex(1, 2): 34}, starlark.None, "unrecognized type: (1+2i)"},
{map[interface{}]interface{}{12: complex(3, 4)}, starlark.None, "unrecognized type: (3+4i)"},
}

for i, c := range cases {
Expand Down

0 comments on commit 0dbaca2

Please sign in to comment.