Skip to content

Commit c62a78d

Browse files
committed
🍀 Improve test coverage
1 parent 7d50fd4 commit c62a78d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎cmd/new_test.go‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,11 @@ func Test_New_CreateComplex(t *testing.T) {
9494
t.Run("failed to replace pattern", func(t *testing.T) {
9595
setupLookPath()
9696
defer teardownLookPath()
97-
setupCmd()
97+
setupCmd(errFlag)
9898
defer teardownCmd()
9999

100+
repo = "[email protected]:id/repo.git"
101+
100102
at.NotNil(createComplex(" ", "name"))
101103
})
102104
}

0 commit comments

Comments
 (0)