Commit Graph

52 Commits

Author SHA1 Message Date
itchyny
d465f10338 update tabs component tests 2017-09-18 08:28:06 +09:00
itchyny
fc7d25e796 implement g:lightline.component_raw to specify raw type components. (close #240, #134)
Having raw type configuration in component_type is a kind of
implementation design mistake. We sometimes want to specify both the
type and the raw attribute of a component. The raw component feature
shouldn't be included as one of the types of components. Now we can
specify the raw attribute with component_raw and the type with
component_type.
2017-08-21 08:21:01 +09:00
itchyny
e7b6c035eb add tests for raw type expansion component 2017-08-20 21:57:17 +09:00
itchyny
479a1f6ae6 update highlight group names in the tests 2016-11-23 19:38:50 +09:00
itchyny
06d0dd33d3 add a test using dictionary function for expand components (ref #183) 2016-09-04 13:07:31 +09:00
itchyny
b5226c77a5 add tests for component_function_visible_condition 2016-08-21 11:29:03 +09:00
itchyny
967a203f26 add tests for lightline#highlight when there is no components (ref #166) 2016-06-11 14:11:28 +09:00
itchyny
c205aad755 add tests for lightline#error() 2016-05-01 04:38:41 +09:00
itchyny
5cb8e4a207 add tests for lightline#mode() 2016-04-30 12:10:17 +09:00
itchyny
4109e4ee6b update test for s:uniq 2016-04-29 13:41:36 +09:00
itchyny
d5bf4b8343 update tests for lightline#highlight 2016-04-17 13:01:55 +09:00
itchyny
6688b54c67 add tests for lightline#highlight 2016-04-17 12:53:24 +09:00
itchyny
757fa3daf3 update the test for lightline#link 2016-04-17 12:49:52 +09:00
itchyny
cd63ed91ef improve s:hi in the test for lightline#ink 2016-04-17 11:37:24 +09:00
itchyny
bf14dc5313 add tests for lightline#link 2016-04-16 15:51:03 +09:00
itchyny
d09e0d2099 add more tests for s:subseparator 2016-04-14 00:18:23 +09:00
itchyny
e8db3fe755 add tests for s:subseparator 2016-04-13 00:12:40 +09:00
itchyny
9c3497939d add more tests for lightline#onetab 2016-03-26 13:59:33 +09:00
itchyny
5613d7f9b4 improve tests for s:uniq 2016-03-24 23:26:56 +09:00
itchyny
0e5500f610 add more test for s:uniq 2016-03-24 21:40:39 +09:00
itchyny
ed13dda6a6 the list is no more sorted in s:uniq, it only removes the adjacent elements 2016-03-24 21:39:30 +09:00
itchyny
2977ed29d0 rename s:unique to s:uniq 2016-03-24 21:37:16 +09:00
itchyny
77dd83a830 sort the return value of s:unique 2016-03-24 21:16:31 +09:00
itchyny
d98a94948d add tests for s:unique 2016-03-24 21:03:41 +09:00
itchyny
43a2a1a359 add a test for lightline#concatenate: keep the argument list 2016-03-24 08:42:16 +09:00
itchyny
7964261285 add tests for lightline#concatenate 2016-03-24 08:34:41 +09:00
itchyny
997c4ba572 change the tests for s:expand: stringify the indices 2016-03-22 10:24:19 +09:00
itchyny
ba4e7552ec improve tests for s:expand 2016-03-22 08:58:29 +09:00
itchyny
5f50a0d0fa add more tests for s:expand 2016-03-21 22:34:16 +09:00
itchyny
b81c73a119 add more tests for s:expand 2016-03-21 20:15:38 +09:00
itchyny
45313179b6 add more tests for s:expand 2016-03-21 18:54:17 +09:00
itchyny
6e0b2717ae add more tests for s:expand 2016-03-21 16:58:43 +09:00
itchyny
9ef3456427 add more tests for s:expand: arrays of arrays 2016-03-21 16:48:45 +09:00
itchyny
ce6c2d8aba add more tests for s:expand: short array 2016-03-21 16:41:40 +09:00
itchyny
6cd8fc8c3c add more tests for void string in s:expand 2016-03-21 16:30:01 +09:00
itchyny
738c37c7d3 fix tests for s:expand 2016-03-21 16:26:06 +09:00
itchyny
cbed6f9a69 add more tests, the function returns void string, for s:expand 2016-03-21 15:52:25 +09:00
itchyny
a61e069274 add more tests, error and notfound for s:expand 2016-03-21 15:50:10 +09:00
itchyny
4c80971765 add .themisrc 2016-03-21 15:33:44 +09:00
itchyny
f4ac7c9d32 add tests for s:expand 2016-03-21 15:31:53 +09:00
itchyny
7c579e48c9 add more tests for lightline#tabline 2016-03-20 11:01:12 +09:00
itchyny
4e15ea324d split tests per functions 2016-03-20 01:37:04 +09:00
itchyny
39d9ba1935 set g:lightline.winwidth to 180 to make the tests for lightline#tabs work 2016-03-20 00:59:37 +09:00
itchyny
00af0f6ec9 use arguments abbreviation to make tests of tabline more readable 2016-03-20 00:06:41 +09:00
itchyny
0622b9572f add tests for abbreviation in tabline 2016-03-19 23:15:02 +09:00
itchyny
abc80eefea add a test for tab_component and tab_component_function 2016-03-19 22:18:38 +09:00
itchyny
a9b9948aa2 add tests for lightline#{enable,disable,toggle} 2016-03-19 19:39:13 +09:00
itchyny
24eacd69d9 remove s:suite.before() 2016-03-19 19:31:49 +09:00
itchyny
d25c31d9a5 add tests for lightline#onetab 2016-03-19 19:15:48 +09:00
itchyny
842d3bf709 rename 2016-03-19 19:15:38 +09:00