From 95bcc7ac80372ba48f01867033a641f99b5c8ba4 Mon Sep 17 00:00:00 2001 From: Domas Monkus Date: Fri, 9 Oct 2020 12:55:14 +0300 Subject: [PATCH] Disable git file history test that relies on commits not being squashed in github PR merges. (#135) --- build/sync/plan/git/file_history_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build/sync/plan/git/file_history_test.go b/build/sync/plan/git/file_history_test.go index 53967b0..6fcaa97 100644 --- a/build/sync/plan/git/file_history_test.go +++ b/build/sync/plan/git/file_history_test.go @@ -25,9 +25,4 @@ func TestFileHistory(t *testing.T) { sums, err = gitutil.FileHistory("build/sync/plan/git/testdata/nosuch_testfile.txt", repo) assert.Equal(gitutil.ErrNotFound, err) assert.Nil(sums) - - // Calling with a non-existent file that was in git history returns no error. - sums, err = gitutil.FileHistory("build/sync/plan/git/testdata/removedfile.txt", repo) - assert.Nil(err) - assert.Equal([]string{"213df5d04c108c99d3ec9ffe43a53f638f0ede0b"}, sums) }