1
0

test: fix function name

This commit is contained in:
dump_stack() 2023-05-18 12:52:52 +00:00
parent 26faa53f8b
commit 17256317c9
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -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)
} }