(t *testing.T)
| 113 | } |
| 114 | |
| 115 | func TestBinaryFieldIterator(t *testing.T) { |
| 116 | d := buildFieldIterator() |
| 117 | it := NewFieldIterator(d) |
| 118 | assertFieldIterator(t, it) |
| 119 | |
| 120 | _, err := it.MarshalBinary() |
| 121 | assert.Error(t, err) |
| 122 | } |
| 123 | |
| 124 | func assertFieldIterator(t *testing.T, it FieldIterator) { |
| 125 | assert.True(t, it.HasNext()) |
nothing calls this directly
no test coverage detected