diff --git a/pkg/section/local_module_test.go b/pkg/section/local_module_test.go index f5db2d5..93702bf 100644 --- a/pkg/section/local_module_test.go +++ b/pkg/section/local_module_test.go @@ -10,7 +10,9 @@ func TestLocalModule_specificity(t *testing.T) { testCases := []specificityTestData{ {"example.com/hello", &LocalModule{Path: "example.com/hello"}, specificity.LocalModule{}}, {"example.com/hello/world", &LocalModule{Path: "example.com/hello"}, specificity.LocalModule{}}, - {"example.com/hello-test", &LocalModule{Path: "example.com/hello"}, specificity.MisMatch{}}, + {"example.com/hello-world", &LocalModule{Path: "example.com/hello"}, specificity.MisMatch{}}, + {"example.com/helloworld", &LocalModule{Path: "example.com/hello"}, specificity.MisMatch{}}, + {"example.com", &LocalModule{Path: "example.com/hello"}, specificity.MisMatch{}}, } testSpecificity(t, testCases) }