Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6b90fcf

Browse files
committed
Fixed unit test
1 parent 0906bcc commit 6b90fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎internal/rule/rulefunction/library_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ func TestLibraryPropertiesUrlFieldDeadLink(t *testing.T) {
779779
testTables := []libraryRuleFunctionTestTable{
780780
{"Unable to load", "InvalidLibraryProperties", ruleresult.NotRun, ""},
781781
{"Not defined", "MissingFields", ruleresult.NotRun, ""},
782-
{"Bad URL", "BadURL", ruleresult.Fail, "^Head \"http://invalid/\": dial tcp: lookup invalid:"},
782+
{"Bad URL", "BadURL", ruleresult.Fail, "^Head \"http://invalid/\": dial tcp: lookup invalid"},
783783
{"HTTP error 404", "URL404", ruleresult.Fail, "^404 Not Found$"},
784784
{"Good URL", "Recursive", ruleresult.Pass, ""},
785785
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /