diff options
author | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-10-27 10:47:14 +0900 |
---|---|---|
committer | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-11-04 14:05:49 +0900 |
commit | bea83d2579ca3b8ca48802f5c114cea60bce396e (patch) | |
tree | f48daeca9f352b989c4c6084af7721c07dab839c /spec/helpers | |
parent | 3a8a7c1251cef4098ffbc54718ba21736c5e2800 (diff) | |
download | gitlab-ce-bea83d2579ca3b8ca48802f5c114cea60bce396e.tar.gz |
Remove an extra leading space from diff content
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/diff_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/diff_helper_spec.rb b/spec/helpers/diff_helper_spec.rb index 9c7c79f57c6..837e7afa7e8 100644 --- a/spec/helpers/diff_helper_spec.rb +++ b/spec/helpers/diff_helper_spec.rb @@ -61,7 +61,7 @@ describe DiffHelper do describe '#diff_line_content' do it 'returns non breaking space when line is empty' do - expect(diff_line_content(nil)).to eq(' ') + expect(diff_line_content(nil)).to eq(' ') end it 'returns the line itself' do |