From 413d4966482789a43e24ee9547514f379ae6ce4e Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sat, 18 May 2019 07:12:40 +0200
Subject: [PATCH] tests: drop snapshot, replace with throws

---
 test/platform/git/__snapshots__/storage.spec.ts.snap | 5 -----
 test/platform/git/storage.spec.ts                    | 2 +-
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/test/platform/git/__snapshots__/storage.spec.ts.snap b/test/platform/git/__snapshots__/storage.spec.ts.snap
index 3a6b63d769..0017cdca09 100644
--- a/test/platform/git/__snapshots__/storage.spec.ts.snap
+++ b/test/platform/git/__snapshots__/storage.spec.ts.snap
@@ -44,9 +44,4 @@ Array [
 
 exports[`platform/git/storage isBranchStale() should throw if branch does not exist 1`] = `[Error: Cannot check staleness for branch that does not exist]`;
 
-exports[`platform/git/storage mergeBranch(branchName) should throw if branch merge throws 1`] = `
-[Error: fatal: 'origin/not_found' is not a commit and a branch 'not_found' cannot be created from it
-]
-`;
-
 exports[`platform/git/storage setBaseBranch(branchName) should throw if branch does not exist 1`] = `[Error: Cannot set baseBranch to something that does not exist]`;
diff --git a/test/platform/git/storage.spec.ts b/test/platform/git/storage.spec.ts
index f3a93851e6..975c935c9b 100644
--- a/test/platform/git/storage.spec.ts
+++ b/test/platform/git/storage.spec.ts
@@ -147,7 +147,7 @@ describe('platform/git/storage', () => {
       expect(merged.all).toContain('renovate/future_branch');
     });
     it('should throw if branch merge throws', async () => {
-      await expect(git.mergeBranch('not_found')).rejects.toMatchSnapshot();
+      await expect(git.mergeBranch('not_found')).rejects.toThrow();
     });
   });
   describe('deleteBranch(branchName)', () => {
-- 
GitLab