(t *testing.T)
| 123 | } |
| 124 | |
| 125 | func TestStringSliceTypeFloat(t *testing.T) { |
| 126 | m := objx.Map{ |
| 127 | "float32": []float32{32.32, 33.33}, |
| 128 | "float64": []float64{64.64, 65.65}, |
| 129 | } |
| 130 | |
| 131 | assert.Equal(t, []string{"32.32", "33.33"}, m.Get("float32").StringSlice()) |
| 132 | assert.Equal(t, []string{"64.64", "65.65"}, m.Get("float64").StringSlice()) |
| 133 | } |
| 134 | |
| 135 | func TestStringSliceTypeOther(t *testing.T) { |
| 136 | m := objx.Map{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…