Add test for renaming
This commit is contained in:
parent
941ae9bd75
commit
115215ecf7
1 changed files with 14 additions and 0 deletions
14
tests/tests/vim/rename.vader
Normal file
14
tests/tests/vim/rename.vader
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Given nim:
|
||||
var hello = "world"
|
||||
var other = hello & "!"
|
||||
hello.echo
|
||||
echo hello
|
||||
|
||||
Do:
|
||||
Gw:NimRenameSymbol\<cr>\<c-w>something\<cr>
|
||||
|
||||
Expect nim:
|
||||
var something = "world"
|
||||
var other = something & "!"
|
||||
something.echo
|
||||
echo something
|
||||
Loading…
Add table
Add a link
Reference in a new issue