(t *testing.T)
| 164 | } |
| 165 | |
| 166 | func TestString_Schema(t *testing.T) { |
| 167 | reporter := newMockReporter(t) |
| 168 | |
| 169 | NewString(reporter, "foo").Schema(`{"type": "string"}`). |
| 170 | chain.assert(t, success) |
| 171 | |
| 172 | NewString(reporter, "foo").Schema(`{"type": "object"}`). |
| 173 | chain.assert(t, failure) |
| 174 | } |
| 175 | |
| 176 | func TestString_Getters(t *testing.T) { |
| 177 | t.Run("length", func(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…