Bläddra i källkod

Update GcsPersistor range unit test

Simon Detheridge 6 år sedan
förälder
incheckning
7b6299e05a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      services/filestore/test/unit/js/GcsPersistorTests.js

+ 1 - 1
services/filestore/test/unit/js/GcsPersistorTests.js

@@ -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
         })
         })
       })
       })
     })
     })