1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-27 13:50:05 +08:00
SpaceVim/test/api/web/http.vader
2017-11-24 22:50:26 +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'