(t *testing.T)
| 133 | } |
| 134 | |
| 135 | func TestStringSliceTypeOther(t *testing.T) { |
| 136 | m := objx.Map{ |
| 137 | "other": "foo", |
| 138 | } |
| 139 | |
| 140 | assert.Equal(t, []string{}, m.Get("other").StringSlice()) |
| 141 | assert.Equal(t, []string{"bar"}, m.Get("other").StringSlice([]string{"bar"})) |
| 142 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…