Просмотр исходного кода

Update GcsPersistor range unit test

Simon Detheridge 6 лет назад
Родитель
Сommit
7b6299e05a
1 измененных файлов с 1 добавлено и 1 удалено
  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
         })
       })
     })