Skip to content

Commit 59df138

Browse files
committed
Failing test.
1 parent ff48eaa commit 59df138

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

t/variable-segment.vim

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,20 @@ describe 'iv'
164164
Expect getline(1) == 'theThingILike'
165165
end
166166

167+
it 'selects segments after single letter snake case sections'
168+
put! = 'a_thing_I_like'
169+
normal! 2|
170+
normal civtest
171+
Expect getline(1) == 'a_test_I_like'
172+
end
173+
174+
it 'selects segments after single letter camel sections'
175+
put! = 'aThingILike'
176+
normal! 1|
177+
normal civtest
178+
Expect getline(1) == 'aTestILike'
179+
end
180+
167181
it 'does not cross left snake boundaries'
168182
put! = 'foo_bar baz_quux'
169183
normal! 10|

0 commit comments

Comments
 (0)