From f5781c06b2c297caf58c97824c77f557831094a7 Mon Sep 17 00:00:00 2001 From: Austin Ziegler Date: Thu, 23 Dec 2021 10:54:52 -0500 Subject: ignore Layout/heredocIndentation due to old Ruby --- spec/issues_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec') diff --git a/spec/issues_spec.rb b/spec/issues_spec.rb index abe524e..ec2abeb 100644 --- a/spec/issues_spec.rb +++ b/spec/issues_spec.rb @@ -68,6 +68,7 @@ describe "Diff::LCS Issues" do describe "issue #60" do it "should produce unified output with correct context" do + # standard:disable Layout/HeredocIndentation old_data = <<-DATA_OLD.strip.split("\n").map(&:chomp) { "name": "x", @@ -93,6 +94,7 @@ describe "Diff::LCS Issues" do + "description": "lo" } EXPECTED + # standard:enable Layout/HeredocIndentation end end @@ -133,6 +135,7 @@ describe "Diff::LCS Issues" do "recipe[q::new]", "recipe[r::new]" ] + # standard:disable Layout/HeredocIndentation expect(diff_lines(old_data, new_data)).to eq(<<-EODIFF) @@ -1,5 +1,4 @@ recipe[a::default] @@ -149,6 +152,7 @@ describe "Diff::LCS Issues" do +recipe[q::new] +recipe[r::new] EODIFF + # standard:enable Layout/HeredocIndentation end end end -- cgit v1.2.1