Skip to content

Commit

Permalink
Update link_checker.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
comanl authored Oct 18, 2023
1 parent 4fef8f7 commit 6997832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_extensions.d/link_checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_links
adoc = init(adoc_content, "#{self.class.name}_#{__method__}")
assert_equal(4, adoc.parsed.references[:links].length)
errors = Toolchain::LinkChecker.new.run(adoc)
assert_equal(3, errors.length)
assert_equal(4, errors.length)
assert_any_startwith(errors, '[404] Not Found') # 2.
assert_any_startwith(errors, 'SocketError') # 3.
assert_any_startwith(errors, 'Net::OpenTimeout') # 4.
Expand Down

0 comments on commit 6997832

Please sign in to comment.