mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
DEV: Apply syntax_tree formatting to spec/*
This commit is contained in:
@ -12,7 +12,8 @@ RSpec.describe Import::Normalize do
|
||||
test
|
||||
<pre><code>this is a ""</code></pre>
|
||||
MD
|
||||
expected = " \n \n```\n I am a te \"\n \n```\n\n test \n \n```\nthis is a \"\"\n```\n\n"
|
||||
expected =
|
||||
" \n \n```\n I am a te \"\n \n```\n\n test \n \n```\nthis is a \"\"\n```\n\n"
|
||||
expect(Import::Normalize.normalize_code_blocks(markdown)).to eq(expected)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user