From af86f45798bd260fee09e97dcff613a9c1f203d5 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 3 Apr 2024 01:41:01 +0200 Subject: [PATCH] tests: more tests Signed-off-by: Fernandez Ludovic --- pkg/section/local_module_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) }