From 6faeaa4462f9d45d59e4b2c73a2cdd2b9f61ac5b Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Tue, 25 Jul 2017 08:06:37 +0800 Subject: [PATCH] Fix vader test --- test/api/web/html.vader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'