(t *testing.T)
| 75 | } |
| 76 | |
| 77 | func TestStringSliceTypeString(t *testing.T) { |
| 78 | m := objx.Map{ |
| 79 | "string": []string{"foo", "bar"}, |
| 80 | } |
| 81 | |
| 82 | assert.Equal(t, []string{"foo", "bar"}, m.Get("string").StringSlice()) |
| 83 | } |
| 84 | |
| 85 | func TestStringSliceTypeBool(t *testing.T) { |
| 86 | m := objx.Map{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…