This commit is contained in:
Claire 2022-05-24 10:26:04 +02:00
parent fe65c0e44f
commit 55ba907108

View file

@ -40,6 +40,10 @@ RSpec.describe AdvancedTextFormatter do
it 'formats code using <pre> and <code>' do it 'formats code using <pre> and <code>' do
is_expected.to include '<pre><code>int main' is_expected.to include '<pre><code>int main'
end end
it 'does not strip leading spaces' do
is_expected.to include '> return 0'
end
end end
context 'given some quote' do context 'given some quote' do