(t *testing.T)
| 134 | } |
| 135 | |
| 136 | func TestBoolean_Schema(t *testing.T) { |
| 137 | reporter := newMockReporter(t) |
| 138 | |
| 139 | NewBoolean(reporter, true).Schema(`{"type": "boolean"}`). |
| 140 | chain.assert(t, success) |
| 141 | |
| 142 | NewBoolean(reporter, true).Schema(`{"type": "object"}`). |
| 143 | chain.assert(t, failure) |
| 144 | } |
| 145 | |
| 146 | func TestBoolean_IsEqual(t *testing.T) { |
| 147 | for _, data := range []bool{true, false} { |
nothing calls this directly
no test coverage detected
searching dependent graphs…