Skip to content

Commit 9a870f6

Browse files
committed
lint
1 parent cd63db6 commit 9a870f6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/html_proofer/attribute/url.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def without_hash
238238
else
239239
url
240240
end
241-
rescue Addressable::URI::InvalidURIError # rubocop:disable Lint/SuppressedException; error will be reported at check time
241+
rescue Addressable::URI::InvalidURIError # rubocop:disable Lint/SuppressedException -- error will be reported at check time
242242
end
243243

244244
private def swap_urls!

lib/html_proofer/log.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Log
1313
def initialize(log_level)
1414
@logger = Yell.new(
1515
format: false,
16-
name: "HTMLProofer", \
16+
name: "HTMLProofer",
1717
level: "gte.#{log_level}",
1818
) do |l|
1919
l.adapter(:stdout, level: "lte.warn")

spec/html-proofer/cache_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def read_cache(cache_filename)
526526
external_link = cache["external"]["https://github.com/gjtorikian/html-proofer"]
527527
expect(external_link["found"]).to(equal(true))
528528
expect(external_link["status_code"]).to(equal(200))
529-
expect(external_link["message"]).equal?("OK")
529+
expect(external_link["message"]).to(match("OK"))
530530

531531
File.delete(cache_filepath)
532532
end

0 commit comments

Comments
 (0)