diff options
author | Adam Hegyi <ahegyi@gitlab.com> | 2019-06-19 13:39:52 +0000 |
---|---|---|
committer | Adam Hegyi <ahegyi@gitlab.com> | 2019-06-19 13:39:52 +0000 |
commit | e76f12f7e70c5a1d8a30720251ef81a3cacf94d0 (patch) | |
tree | b9fa92446c43784c24cf3293787cfcb38463726b /spec/lib/gitlab/ci/ansi2html_spec.rb | |
parent | 86c08225eb60a909701f9dfc6f767311cc2516c0 (diff) | |
parent | 7fa94651f3ac5e9548091eaa59f44c74ebd58473 (diff) | |
download | gitlab-ce-e76f12f7e70c5a1d8a30720251ef81a3cacf94d0.tar.gz |
Merge branch 'master' into '63406-selecting-a-line-in-ci-job-trace-using-triple-click-selects-the-previous-line-also'63406-selecting-a-line-in-ci-job-trace-using-triple-click-selects-the-previous-line-also
# Conflicts:
# spec/lib/gitlab/ci/ansi2html_spec.rb
Diffstat (limited to 'spec/lib/gitlab/ci/ansi2html_spec.rb')
-rw-r--r-- | spec/lib/gitlab/ci/ansi2html_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/ci/ansi2html_spec.rb b/spec/lib/gitlab/ci/ansi2html_spec.rb index 655c5d20d7f..aa4e358b148 100644 --- a/spec/lib/gitlab/ci/ansi2html_spec.rb +++ b/spec/lib/gitlab/ci/ansi2html_spec.rb @@ -231,8 +231,8 @@ describe Gitlab::Ci::Ansi2html do it 'prints light red' do text = "#{section_start}\e[91mHello\e[0m\n#{section_end}" - header = %{<span class="term-fg-l-red section js-section-header js-s-#{class_name(section_name)}">Hello</span>} - line_break = %{<span class="section js-section-header js-s-#{class_name(section_name)}"></span><br/>} + header = %{<span class="term-fg-l-red section js-section-header section-header js-s-#{class_name(section_name)}">Hello</span>} + line_break = %{<span class="section js-section-header section-header js-s-#{class_name(section_name)}"></span><br/>} line = %{<span class="section line s_#{class_name(section_name)}"></span>} empty_line = %{<span class="section js-s-#{class_name(section_name)}"></span>} html = "#{section_start_html}#{header}#{line_break}#{line}#{empty_line}#{section_end_html}" |