test/checking/checks/test_html.rb in nanoc-4.4.3 vs test/checking/checks/test_html.rb in nanoc-4.4.4
- old
+ new
@@ -1,9 +1,9 @@
class Nanoc::Checking::Checks::HTMLTest < Nanoc::TestCase
def test_run_ok
require 'w3c_validators'
- if ::W3CValidators::VERSION == '1.3'
+ if ::W3CValidators::VERSION =~ /\A1\.3|1\.3\.1\z/
skip 'broken (see https://github.com/w3c-validators/w3c_validators/issues/25)'
end
VCR.use_cassette('html_run_ok') do
with_site do |site|