Commit 38477479 authored by Kev's avatar Kev

Remove trailing whitespace

parent d0c85390
...@@ -224,7 +224,7 @@ module Gitlab ...@@ -224,7 +224,7 @@ module Gitlab
def logs_section_prefix_regex def logs_section_prefix_regex
/section_((?:start)|(?:end)):(\d+):([a-zA-Z0-9_.-]+)/ /section_((?:start)|(?:end)):(\d+):([a-zA-Z0-9_.-]+)/
end end
# The optional section options, e.g. [collapsed=true] # The optional section options, e.g. [collapsed=true]
def logs_section_options_regex def logs_section_options_regex
/(\[(?:\w+=\w+)(?:, ?(?:\w+=\w+))*\])?/ /(\[(?:\w+=\w+)(?:, ?(?:\w+=\w+))*\])?/
......
...@@ -102,7 +102,6 @@ RSpec.describe Gitlab::Regex do ...@@ -102,7 +102,6 @@ RSpec.describe Gitlab::Regex do
describe '.build_trace_section_regex' do describe '.build_trace_section_regex' do
subject { described_class.build_trace_section_regex } subject { described_class.build_trace_section_regex }
context 'without options' do context 'without options' do
example = "section_start:1600445393032:NAME\r\033\[0K" example = "section_start:1600445393032:NAME\r\033\[0K"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment