From adc59ea4ad4d048131d406a51db5c90d6dcbb68a Mon Sep 17 00:00:00 2001 From: Clinton Wolfe Date: Sat, 23 May 2020 23:35:32 -0400 Subject: [PATCH] Correct html validation assertion syntax Signed-off-by: Clinton Wolfe --- .../test/functional/inspec_reporter_html2_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/inspec-reporter-html2/test/functional/inspec_reporter_html2_test.rb b/lib/plugins/inspec-reporter-html2/test/functional/inspec_reporter_html2_test.rb index aa9f22f16..485bbfd9a 100644 --- a/lib/plugins/inspec-reporter-html2/test/functional/inspec_reporter_html2_test.rb +++ b/lib/plugins/inspec-reporter-html2/test/functional/inspec_reporter_html2_test.rb @@ -28,7 +28,7 @@ describe "inspec-reporter-html2" do } run_result - _(HTMLProofer.check_file(output_file, proofer_opts).run).must_output("") + _(proc {HTMLProofer.check_file(output_file, proofer_opts).run} ).must_be_silent end end