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 authored and JustinBeckwith committed Oct 9, 2018
1 parent e3cb6d6 commit c39d2e8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions system-test/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1847,16 +1847,12 @@ describe('storage', () => {

it('should not download from the unencrypted file', done => {
unencryptedFile.download(err => {
<<<<<<< HEAD
assert(err!.message.indexOf([
=======
if (!err) {
done(new Error('Expected an error.'));
return;
}

assert(err.message.indexOf([
>>>>>>> TypeScript stuff.
assert(err!.message.indexOf([
'The target object is encrypted by a',
'customer-supplied encryption key.',
].join(' ')) > -1);
Expand Down

0 comments on commit c39d2e8

Please sign in to comment.