use code 160 for space to fix rendering problems.

This commit is contained in:
Bailey Ling
2013-09-18 22:23:50 -04:00
parent 2d465afb95
commit 948a4178a8
6 changed files with 19 additions and 15 deletions

View File

@@ -47,13 +47,13 @@ describe 'section'
it 'should force add separators for raw and missing keys'
let s = airline#section#create_left(['asdf', 'raw'])
Expect s == 'asdf > raw'
Expect s == 'asdf > raw'
let s = airline#section#create_left(['asdf', 'aaaa', 'raw'])
Expect s == 'asdf > aaaa > raw'
Expect s == 'asdf > aaaa > raw'
let s = airline#section#create_right(['raw', '%f'])
Expect s == 'raw < %f'
Expect s == 'raw < %f'
let s = airline#section#create_right(['%t', 'asdf', '%{getcwd()}'])
Expect s == '%t < asdf < %{getcwd()}'
Expect s == '%t < asdf < %{getcwd()}'
end
it 'should empty out parts that do not pass their condition'