(t *testing.T)
| 60 | } |
| 61 | |
| 62 | func TestCanSupportUserDefinedStructsRef(t *testing.T) { |
| 63 | assert := assert.New(t) |
| 64 | s := scalars{Foo: "one", Bar: "bar"} |
| 65 | result, err := Search("Foo", &s) |
| 66 | assert.Nil(err) |
| 67 | assert.Equal("one", result) |
| 68 | } |
| 69 | |
| 70 | func TestCanSupportStructWithSliceAll(t *testing.T) { |
| 71 | assert := assert.New(t) |