Ver Fonte

Update GcsPersistor range unit test

Simon Detheridge há 6 anos atrás
pai
commit
7b6299e05a
1 ficheiros alterados com 1 adições e 1 exclusões
  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() {
         expect(GcsFile.createReadStream).to.have.been.calledWith({
           start: 5,
-          end: 11 // we increment the end because Google's 'end' is exclusive
+          end: 10
         })
       })
     })