2017-07-16 04:28:01 +08:00
|
|
|
Execute (Test web#http api):
|
|
|
|
let g:test_api_web_http = SpaceVim#api#import('web#http')
|
|
|
|
let g:test_api_web_http_getresult = g:test_api_web_http.get('spacevim.org')
|
2017-11-24 22:50:26 +08:00
|
|
|
AssertEqual g:test_api_web_http_getresult.status, '200'
|