Add a GetConfigurations function
This commit is contained in:
parent
7b048367f7
commit
d5b9411256
4 changed files with 66 additions and 20 deletions
21
tests/get_configurations.test.vim
Normal file
21
tests/get_configurations.test.vim
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
function! SetUp()
|
||||
call vimspector#test#setup#SetUpWithMappings( v:none )
|
||||
endfunction
|
||||
|
||||
function! ClearDown()
|
||||
call vimspector#test#setup#ClearDown()
|
||||
endfunction
|
||||
|
||||
function Test_Get_Configurations()
|
||||
lcd ../support/test/csharp/
|
||||
|
||||
let configs = vimspector#GetConfigurations()
|
||||
call assert_equal([
|
||||
\ 'launch - netcoredbg',
|
||||
\ 'launch - mono',
|
||||
\ ], configs)
|
||||
|
||||
lcd -
|
||||
%bwipe!
|
||||
endfunction
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue