(t *testing.T)
| 155 | } |
| 156 | |
| 157 | func TestString_Path(t *testing.T) { |
| 158 | reporter := newMockReporter(t) |
| 159 | |
| 160 | value := NewString(reporter, "foo") |
| 161 | |
| 162 | assert.Equal(t, "foo", value.Path("$").Raw()) |
| 163 | value.chain.assert(t, success) |
| 164 | } |
| 165 | |
| 166 | func TestString_Schema(t *testing.T) { |
| 167 | reporter := newMockReporter(t) |