From fc679c4c0fd36b93ce0cc3e88348df9b35b6a43b Mon Sep 17 00:00:00 2001 From: Hiroshi Shirosaki Date: Thu, 14 Jan 2016 13:30:16 +0900 Subject: [PATCH 1/1] Add `:lclose` after `:Toc` to fix test failure Code block syntax test fails without `:lclose`. --- test/command-toc.vader | 3 +++ test/folding-toc.vader | 1 + 2 files changed, 4 insertions(+) diff --git a/test/command-toc.vader b/test/command-toc.vader index a61e04b..349592f 100644 --- a/test/command-toc.vader +++ b/test/command-toc.vader @@ -163,3 +163,6 @@ Expect (multiple headers): atx h1 setex h2 atx h3 2 + +Execute: + :lclose diff --git a/test/folding-toc.vader b/test/folding-toc.vader index e15ed73..a02f1c2 100644 --- a/test/folding-toc.vader +++ b/test/folding-toc.vader @@ -96,6 +96,7 @@ Execute (fold text result): Execute (check TOC): :Toc + :lclose let res = getloclist(0) let elem = res[0] AssertEqual elem.lnum, 1 -- 2.39.5