diff --git a/spec/lib/advanced_text_formatter_spec.rb b/spec/lib/advanced_text_formatter_spec.rb index ea1a9570d0..3255fc9271 100644 --- a/spec/lib/advanced_text_formatter_spec.rb +++ b/spec/lib/advanced_text_formatter_spec.rb @@ -40,6 +40,10 @@ RSpec.describe AdvancedTextFormatter do it 'formats code using
and ' do
is_expected.to include 'int main'
end
+
+ it 'does not strip leading spaces' do
+ is_expected.to include '> return 0'
+ end
end
context 'given some quote' do