Add test for NimInfo
This commit is contained in:
parent
10bd41db5a
commit
941ae9bd75
1 changed files with 13 additions and 0 deletions
13
tests/tests/vim/info.vader
Normal file
13
tests/tests/vim/info.vader
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Given nim:
|
||||
echo 5
|
||||
|
||||
Execute:
|
||||
set buftype=""
|
||||
saveas! vader_workbench.nim
|
||||
redir! > output
|
||||
NimInfo
|
||||
redir END
|
||||
|
||||
Then:
|
||||
let f = readfile("output")
|
||||
Assert len(f) > 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue