From 22a160cb32681a4349db7105626ad6aa0b1b2954 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Mon, 26 Oct 2020 12:15:58 +0530 Subject: [PATCH] Remove redundant escapes inside regexp literal --- spec/jekyll_seo_tag_integration_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/jekyll_seo_tag_integration_spec.rb b/spec/jekyll_seo_tag_integration_spec.rb index 22646db..df2ebac 100755 --- a/spec/jekyll_seo_tag_integration_spec.rb +++ b/spec/jekyll_seo_tag_integration_spec.rb @@ -8,7 +8,7 @@ RSpec.describe Jekyll::SeoTag do let(:tag) { "seo" } let(:text) { "" } let(:output) { Liquid::Template.parse("{% #{tag} #{text} %}").render!(context, {}) } - let(:json) { output.match(%r!!m)[1] } + let(:json) { output.match(%r!!m)[1] } let(:json_data) { JSON.parse(json) } let(:paginator) { { "previous_page" => true, "previous_page_path" => "foo", "next_page" => true, "next_page_path" => "bar" } }