nixpkgs/pkgs/development/tools/buf/skip_test_requiring_dotgit.patch
06kellyjac 1560fde989 buf: 0.46.0 -> 0.49.0
Dropped leaveDotGit to avoid non-determinism issues
Skip test that requried .git
Slight cleanup
Add myself as a maintainer
2021-08-11 10:29:52 +01:00

15 lines
532 B
Diff

diff --git a/internal/buf/cmd/buf/workspace_test.go b/internal/buf/cmd/buf/workspace_test.go
index e051690..8887837 100644
--- a/internal/buf/cmd/buf/workspace_test.go
+++ b/internal/buf/cmd/buf/workspace_test.go
@@ -335,6 +335,9 @@ func TestWorkspaceNestedArchive(t *testing.T) {
}
func TestWorkspaceGit(t *testing.T) {
+ // Requires .git directory which we do not retain due to
+ // `leaveDotGit` non-determinism
+ t.Skip()
// Directory paths specified as a git reference within a workspace.
t.Parallel()
testRunStdout(