test: fix function name
This commit is contained in:
parent
26faa53f8b
commit
17256317c9
@ -8,7 +8,7 @@ import (
|
|||||||
"code.dumpstack.io/tools/out-of-tree/fs"
|
"code.dumpstack.io/tools/out-of-tree/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMatchImagePkg(t *testing.T) {
|
func TestMatch(t *testing.T) {
|
||||||
if os.Getenv("CI") != "" {
|
if os.Getenv("CI") != "" {
|
||||||
t.Skip("skip testing in CI")
|
t.Skip("skip testing in CI")
|
||||||
}
|
}
|
||||||
@ -28,7 +28,7 @@ func TestMatchImagePkg(t *testing.T) {
|
|||||||
DistroRelease: "7",
|
DistroRelease: "7",
|
||||||
}
|
}
|
||||||
|
|
||||||
pkgs, err := MatchImagePkg(km)
|
pkgs, err := Match(km)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user