1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:40:05 +08:00
SpaceVim/test/api/web/http.vader
2017-07-16 04:28:01 +08:00

5 lines
231 B
Plaintext

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')
AssertEqual g:test_api_web_http_getresult.status, '200'