mirror of
https://github.com/grdl/git-get.git
synced 2026-02-09 23:19:15 +00:00
Move test package inside the git package
It is not being used by other packages so it should belong to `git` package.
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
package git
|
package git
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"git-get/pkg/git/test"
|
||||||
"git-get/pkg/run"
|
"git-get/pkg/run"
|
||||||
"git-get/pkg/test"
|
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package git
|
package git
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git-get/pkg/test"
|
"git-get/pkg/git/test"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package git
|
package git
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git-get/pkg/test"
|
"git-get/pkg/git/test"
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
@@ -31,7 +31,7 @@ func TestUncommitted(t *testing.T) {
|
|||||||
want: 0,
|
want: 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "single tracked ",
|
name: "single tracked",
|
||||||
repoMaker: test.RepoWithStaged,
|
repoMaker: test.RepoWithStaged,
|
||||||
want: 1,
|
want: 1,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user