Skip to content

Commit 3681d80

Browse files
committed
feat: add \n
Signed-off-by: Gaius <[email protected]>
1 parent 7c4ca8a commit 3681d80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/e2e_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var _ = BeforeSuite(func() {
3030
out, err := e2eutil.GitCommand("rev-parse", "--short", "HEAD").CombinedOutput()
3131
Expect(err).NotTo(HaveOccurred())
3232
gitCommit := strings.Fields(string(out))[0]
33-
fmt.Printf("git merge commit: %s", gitCommit)
33+
fmt.Printf("git merge commit: %s\n", gitCommit)
3434

3535
out, err = e2eutil.KubeCtlCommand("-n", dragonflyNamespace, "get", "pod", "-l", "component=dfdaemon",
3636
"-o", "jsonpath='{range .items[*]}{.metadata.name}{end}'").CombinedOutput()
@@ -42,7 +42,7 @@ var _ = BeforeSuite(func() {
4242
out, err = pod.Command("dfget", "version").CombinedOutput()
4343
Expect(err).NotTo(HaveOccurred())
4444
dfgetGitCommit := strings.Fields(string(out))[7]
45-
fmt.Printf("dfget merge commit: %s", gitCommit)
45+
fmt.Printf("dfget merge commit: %s\n", gitCommit)
4646

4747
Expect(gitCommit).To(Equal(dfgetGitCommit))
4848
})

0 commit comments

Comments
 (0)