remove redundant highlight group.

This commit is contained in:
Bailey Ling
2013-09-07 03:06:08 +00:00
parent db58294871
commit ad3556d243
2 changed files with 12 additions and 1 deletions

View File

@@ -30,6 +30,13 @@ describe 'active builder'
let stl = s:builder.build()
Expect stl =~ '%#Normal#hello%#Normal_to_NonText#<%#NonText#world'
end
it 'should not repeat the same highlight group'
call s:builder.add_section('Normal', 'hello')
call s:builder.add_section('Normal', 'hello')
let stl = s:builder.build()
Expect stl == '%#Normal#hello>hello'
end
end
describe 'inactive builder'