Explorar o código

Update GcsPersistor range unit test

Simon Detheridge %!s(int64=6) %!d(string=hai) anos
pai
achega
7b6299e05a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
         })
       })
     })