From 98ee68a122aaafecba68f51e6c81ad9b6a582473 Mon Sep 17 00:00:00 2001 From: zongz Date: Thu, 30 Nov 2023 16:50:57 +0800 Subject: [PATCH] fix: fix failed test case Signed-off-by: zongz --- pkg/api/kpm_pkg_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/kpm_pkg_test.go b/pkg/api/kpm_pkg_test.go index fe37dbb7..f77cd6a8 100644 --- a/pkg/api/kpm_pkg_test.go +++ b/pkg/api/kpm_pkg_test.go @@ -37,7 +37,7 @@ func TestPackageApi(t *testing.T) { schemas, err := pkg.GetAllSchemaTypeMapping() assert.Equal(t, err, nil) assert.Equal(t, len(schemas), 3) - assert.Equal(t, len(schemas["."]), 2) + assert.Equal(t, len(schemas["."]), 4) assert.Equal(t, len(schemas[filepath.Join("sub")]), 1) assert.Equal(t, len(schemas[filepath.Join("sub", "sub1")]), 2)