FileEqualsToReader compares the contents of a test data file with the contents of the given reader
(name string, reader io.Reader)
| 93 | |
| 94 | // FileEqualsToReader compares the contents of a test data file with the contents of the given reader |
| 95 | func (p *TestDataProvider) FileEqualsToReader(name string, reader io.Reader) bool { |
| 96 | expected := p.Reader(name) |
| 97 | return ReadersEqual(p.t(), expected, reader) |
| 98 | } |