diff options
Diffstat (limited to 'spec/lib/gitlab/highlight_spec.rb')
-rw-r--r-- | spec/lib/gitlab/highlight_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/highlight_spec.rb b/spec/lib/gitlab/highlight_spec.rb index 173131b1d5c..ef3765e479f 100644 --- a/spec/lib/gitlab/highlight_spec.rb +++ b/spec/lib/gitlab/highlight_spec.rb @@ -43,7 +43,7 @@ RSpec.describe Gitlab::Highlight do it 'returns plain version for unknown lexer context' do result = described_class.highlight(plain_text_file_name, plain_text_content) - expect(result).to eq(%[<span id="LC1" class="line" lang="plaintext">plain text contents</span>]) + expect(result).to eq(%(<span id="LC1" class="line" lang="plaintext">plain text contents</span>)) end context 'when content is too long to be highlighted' do |