aboutsummaryrefslogtreecommitdiff
path: root/package_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-07-06 16:19:22 +0700
committerShulhan <ms@kilabit.info>2025-07-06 16:19:22 +0700
commit76e44f0c738325ec7c1a64b2302a08320a8102b3 (patch)
tree9df3b5851c20d062815329b1463bfffbe8a80fff /package_test.go
parentbae56a2010ece755e3fb664b2428d0aaf73b4a9b (diff)
downloadbeku-76e44f0c738325ec7c1a64b2302a08320a8102b3.tar.xz
all: replace module github.com/shuLhan/share with pakakeh.go
Diffstat (limited to 'package_test.go')
-rw-r--r--package_test.go22
1 files changed, 11 insertions, 11 deletions
diff --git a/package_test.go b/package_test.go
index 85253ca..50396f8 100644
--- a/package_test.go
+++ b/package_test.go
@@ -11,9 +11,9 @@ import (
"strings"
"testing"
- "github.com/shuLhan/share/lib/ini"
- "github.com/shuLhan/share/lib/test"
- "github.com/shuLhan/share/lib/test/mock"
+ "git.sr.ht/~shulhan/pakakeh.go/lib/ini"
+ "git.sr.ht/~shulhan/pakakeh.go/lib/test"
+ "git.sr.ht/~shulhan/pakakeh.go/lib/test/mock"
)
func TestPackageRemove(t *testing.T) {
@@ -200,31 +200,31 @@ func TestAddDep(t *testing.T) {
envPkgs: []*Package{{
ImportPath: "github.com/shuLhan/beku",
}, {
- ImportPath: "github.com/shuLhan/share",
+ ImportPath: "git.sr.ht/~shulhan/pakakeh.go",
}},
- importPath: "github.com/shuLhan/share/lib/test",
+ importPath: "git.sr.ht/~shulhan/pakakeh.go/lib/test",
exp: true,
expDeps: []string{
- "github.com/shuLhan/share",
+ "git.sr.ht/~shulhan/pakakeh.go",
},
}, {
desc: "Is exist on environment (again)",
envPkgs: []*Package{{
ImportPath: "github.com/shuLhan/beku",
}, {
- ImportPath: "github.com/shuLhan/share",
+ ImportPath: "git.sr.ht/~shulhan/pakakeh.go",
}},
- importPath: "github.com/shuLhan/share/lib/test",
+ importPath: "git.sr.ht/~shulhan/pakakeh.go/lib/test",
exp: true,
expDeps: []string{
- "github.com/shuLhan/share",
+ "git.sr.ht/~shulhan/pakakeh.go",
},
}, {
desc: "Is not exist on environment (missing)",
importPath: "github.com/shuLhan/tekstus",
exp: true,
expDeps: []string{
- "github.com/shuLhan/share",
+ "git.sr.ht/~shulhan/pakakeh.go",
},
expDepsMissing: []string{
"github.com/shuLhan/tekstus",
@@ -237,7 +237,7 @@ func TestAddDep(t *testing.T) {
importPath: "github.com/shuLhan/tekstus",
exp: true,
expDeps: []string{
- "github.com/shuLhan/share",
+ "git.sr.ht/~shulhan/pakakeh.go",
},
expDepsMissing: []string{
"github.com/shuLhan/tekstus",