diff --git a/internal/rule/rulefunction/library_test.go b/internal/rule/rulefunction/library_test.go index 7812e257..91a670b5 100644 --- a/internal/rule/rulefunction/library_test.go +++ b/internal/rule/rulefunction/library_test.go @@ -779,7 +779,7 @@ func TestLibraryPropertiesUrlFieldDeadLink(t *testing.T) { testTables := []libraryRuleFunctionTestTable{ {"Unable to load", "InvalidLibraryProperties", ruleresult.NotRun, ""}, {"Not defined", "MissingFields", ruleresult.NotRun, ""}, - {"Bad URL", "BadURL", ruleresult.Fail, "^Head \"http://invalid/\": dial tcp: lookup invalid:"}, + {"Bad URL", "BadURL", ruleresult.Fail, "^Head \"http://invalid/\": dial tcp: lookup invalid"}, {"HTTP error 404", "URL404", ruleresult.Fail, "^404 Not Found$"}, {"Good URL", "Recursive", ruleresult.Pass, ""}, }