diff --git a/test/api/web/html.vader b/test/api/web/html.vader index d174c41e0..84dd74c1f 100644 --- a/test/api/web/html.vader +++ b/test/api/web/html.vader @@ -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'