Debian Codegraph @

internal/app/quick_test.go

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 package app
2
3 import (
4 "testing"
5
6 "github.com/isacikgoz/gitbatch/internal/git"
7 "github.com/stretchr/testify/require"
8 )
9
10 func TestQuick(t *testing.T) {
11 th := git.InitTestRepositoryFromLocal(t)
12 defer th.CleanUp(t)
13
14 var tests = []struct {
15 inp1 []string
16 inp2 string
17 }{
18 {
19 []string{th.DirtyRepoPath()},
20 "fetch",
21 }, {
22 []string{th.DirtyRepoPath()},
23 "pull",
24 },
25 }
26 for _, test := range tests {
27 err := quick(test.inp1, test.inp2)
28 require.NoError(t, err)
29 }
30 }