Update GcsPersistor range unit test

This commit is contained in:
Simon Detheridge 2020-06-09 13:55:03 +01:00
parent 5d9f78322d
commit 7b6299e05a

View file

@ -196,7 +196,7 @@ describe('GcsPersistorTests', function() {
it('passes the byte range on to GCS', function() { it('passes the byte range on to GCS', function() {
expect(GcsFile.createReadStream).to.have.been.calledWith({ expect(GcsFile.createReadStream).to.have.been.calledWith({
start: 5, start: 5,
end: 11 // we increment the end because Google's 'end' is exclusive end: 10
}) })
}) })
}) })