Rubocop: test/test_liquid_renderer.rb

This commit is contained in:
Pat Hawks 2016-05-25 22:00:05 -05:00
parent 23646549c4
commit 7537b01e74
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
require 'helper'
require "helper"
class TestLiquidRenderer < JekyllUnitTest
context "profiler" do
@ -12,11 +12,13 @@ class TestLiquidRenderer < JekyllUnitTest
output = @renderer.stats_table
# rubocop:disable Metrics/LineLength
expected = [
/^Filename\s+|\s+Count\s+|\s+Bytes\s+|\s+Time$/,
/^-+\++-+\++-+\++-+$/,
/^_posts\/2010-01-09-date-override\.markdown\s+|\s+\d+\s+|\s+\d+\.\d{2}K\s+|\s+\d+\.\d{3}$/,
%r!^_posts/2010-01-09-date-override\.markdown\s+|\s+\d+\s+|\s+\d+\.\d{2}K\s+|\s+\d+\.\d{3}$!
]
# rubocop:enable Metrics/LineLength
expected.each do |regexp|
assert_match regexp, output