Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/banzai/filter/truncate_visible_filter_spec.rb')
-rw-r--r--spec/lib/banzai/filter/truncate_visible_filter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/banzai/filter/truncate_visible_filter_spec.rb b/spec/lib/banzai/filter/truncate_visible_filter_spec.rb
index 0d352850682..d55d54f766d 100644
--- a/spec/lib/banzai/filter/truncate_visible_filter_spec.rb
+++ b/spec/lib/banzai/filter/truncate_visible_filter_spec.rb
@@ -44,7 +44,7 @@ RSpec.describe Banzai::Filter::TruncateVisibleFilter, feature_category: :team_pl
describe 'truncates the first line of a code block' do
let(:markdown) { "```\nCode block\nwith two lines\n```" }
- let(:expected) { "Code block...</span>\n</code>" }
+ let(:expected) { "Code block...</span></code>" }
it_behaves_like 'truncates text'
end