Skip to content

Commit

Permalink
Add forgotten character escape in regexp literal
Browse files Browse the repository at this point in the history
Ruby was emitting a warning about this one.
  • Loading branch information
skalee committed Apr 28, 2021
1 parent 2278867 commit 33880cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/components/basic_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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/ }
Expand Down

0 comments on commit 33880cf

Please sign in to comment.