From b3e501a3faa94396cd2fec19869f823aa259593e Mon Sep 17 00:00:00 2001 From: Frank Natividad Date: Thu, 4 Oct 2018 17:14:38 -0700 Subject: [PATCH] Undo change in storage.ts --- system-test/storage.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system-test/storage.ts b/system-test/storage.ts index ceb8d214f..75b472811 100644 --- a/system-test/storage.ts +++ b/system-test/storage.ts @@ -1838,6 +1838,11 @@ describe('storage', () => { it('should not download from the unencrypted file', done => { unencryptedFile.download(err => { + if (!err) { + done(new Error('Expected an error.')); + return; + } + assert(err!.message.indexOf([ 'The target object is encrypted by a', 'customer-supplied encryption key.',