From 33880cf9e7a29010c9cd2187314b057e09890fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ska=C5=82acki?= Date: Wed, 28 Apr 2021 02:20:27 +0200 Subject: [PATCH] Add forgotten character escape in regexp literal Ruby was emitting a warning about this one. --- spec/components/basic_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/components/basic_spec.rb b/spec/components/basic_spec.rb index 9d9dc28..6c23cf8 100644 --- a/spec/components/basic_spec.rb +++ b/spec/components/basic_spec.rb @@ -8,7 +8,7 @@ it { is_expected.to match /plain text ?\n/ } it { is_expected.to match /\n== h1\n/ } - it { is_expected.to match /\n\[\[A]\]\n== h1 with anchor\n/ } + it { is_expected.to match /\n\[\[A\]\]\n== h1 with anchor\n/ } it { is_expected.to match /\n=== h2\n/ } it { is_expected.to match /\n==== h3\n/ } it { is_expected.to match /\n===== h4\n/ }