1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00

Fix vader test

This commit is contained in:
wsdjeg 2017-07-25 08:06:37 +08:00
parent ffa86f2cd9
commit 6faeaa4462

View File

@ -1,4 +1,4 @@
Execute (Test web#http api):
let g:test_api_web_html = SpaceVim#api#import('web#html')
let g:test_api_web_html_paser = g:test_api_web_html.parseURL('spacevim.org')
AssertEqual g:test_api_web_html_paser.child[1].child[21].child[0], 'Home - SpaceVim'
AssertEqual g:test_api_web_html_paser.child[1].find('title').child[0], 'Home - SpaceVim'