From 3ef2f613e9edf9242e9f1075c4bf9dcba36b74ef Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Wed, 23 Aug 2017 16:50:23 -0400 Subject: [PATCH] fix regex syntax --- 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 016fdae..22dcd08 100755 --- a/spec/jekyll_seo_tag_integration_spec.rb +++ b/spec/jekyll_seo_tag_integration_spec.rb @@ -329,7 +329,7 @@ EOS end it "minifies JSON-LD" do - expect(output).to_not match(/{.*?\s.*?}/) + expect(output).to_not match(%r!{.*?\s.*?}!) end end end