Skip to content

Commit

Permalink
Merge pull request #4323 from werf/test-git-cmd-fix-flaky
Browse files Browse the repository at this point in the history
test(git_cmd): fix flaky
  • Loading branch information
ilya-lesikov committed Apr 1, 2022
2 parents 68b196d + 16d0aaa commit 301f050
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/true_git/git_cmd_test.go
Expand Up @@ -46,7 +46,8 @@ var _ = Describe("Git command", func() {
Expect(err).To(Succeed())
Expect(branchCmd.OutBuf.String()).To(Equal("* main\n"))
Expect(branchCmd.ErrBuf.String()).To(Equal("warning: ignoring broken ref refs/heads/broken\n"))
Expect(branchCmd.OutErrBuf.String()).To(Equal("warning: ignoring broken ref refs/heads/broken\n* main\n"))
Expect(branchCmd.OutErrBuf.String()).To(ContainSubstring("warning: ignoring broken ref refs/heads/broken"))
Expect(branchCmd.OutErrBuf.String()).To(ContainSubstring("* main"))
})
})
})

0 comments on commit 301f050

Please sign in to comment.