Skip to content

Commit

Permalink
Undo change in storage.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyn committed Oct 5, 2018
1 parent 8926ed2 commit b3e501a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions system-test/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down

0 comments on commit b3e501a

Please sign in to comment.