test/checking/checks/test_html.rb in nanoc-4.4.2 vs test/checking/checks/test_html.rb in nanoc-4.4.3

- old
+ new

@@ -1,6 +1,12 @@ class Nanoc::Checking::Checks::HTMLTest < Nanoc::TestCase def test_run_ok + require 'w3c_validators' + + if ::W3CValidators::VERSION == '1.3' + skip 'broken (see https://github.com/w3c-validators/w3c_validators/issues/25)' + end + VCR.use_cassette('html_run_ok') do with_site do |site| # Create files FileUtils.mkdir_p('output') File.open('output/blah.html', 'w') { |io| io.write('<!DOCTYPE html><html><head><meta charset="utf-8"><title>Hello</title></head><body><h1>Hi!</h1></body>') }