(t *testing.T)
| 156 | } |
| 157 | |
| 158 | func TestNumber_Schema(t *testing.T) { |
| 159 | reporter := newMockReporter(t) |
| 160 | |
| 161 | NewNumber(reporter, 123.0).Schema(`{"type": "number"}`). |
| 162 | chain.assert(t, success) |
| 163 | |
| 164 | NewNumber(reporter, 123.0).Schema(`{"type": "object"}`). |
| 165 | chain.assert(t, failure) |
| 166 | } |
| 167 | |
| 168 | func TestNumber_IsEqual(t *testing.T) { |
| 169 | t.Run("basic", func(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…