From: Ciro Santilli Date: Tue, 8 Jul 2014 06:53:19 +0000 (+0200) Subject: Merge pull request #84 from cirosantilli/setex-tests X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/9ced6869ac811055068cf1dfb9d6904a385fcfeb?hp=2b4603e9eaac622ee963c45b3a838e36bd7b7b1f Merge pull request #84 from cirosantilli/setex-tests Add Setex examples to the multiple headers test. --- diff --git a/test/header.md b/test/header.md new file mode 100644 index 0000000..084eef3 --- /dev/null +++ b/test/header.md @@ -0,0 +1,77 @@ +This file is used for tests which require there to be multiple headers in different relative positions to each other. + +Each header should have an unique text that identifies it. + +--- + +ATX tests. + +# h1 space + +#h1 nospace + +# h1 2 spaces + +# h1 trailing hash # + +## h2 space + +##h2 nospace + +## h2 trailing hash ## + +### h3 space + +###h3 nospace + +### h3 trailing hash ### + +#### h4 + +##### h5 + +###### h6 + +--- + +Relative positions. + +# h1 before h2 + +## h2 between h1s + +# h1 after h2 + +--- + +Setex tests. + +setex h1 +======== + +setex h2 +-------- + +setex h1 single punctuation += + +setex h1 punctuation longer than header +================================ + +--- + +Mixed tests. + +setex h1 before atx +=================== + +## atx h2 + +### atx h3 + +# atx h1 + +setex h2 +------------------ + +### atx h3 2 diff --git a/test/multiple_headers.md b/test/multiple_headers.md deleted file mode 100644 index b6a403a..0000000 --- a/test/multiple_headers.md +++ /dev/null @@ -1,27 +0,0 @@ -This file is used for tests which require there to be multiple headers in different relative positions to each other. - -Each header should have an unique text that identifies it. - -# h1 space - -#h1 nospace - -# h1 trailing hash # - -## h2 space - -##h2 nospace - -## h2 trailing hash ## - -### h3 space - -###h3 nospace - -### h3 trailing hash ### - -# h1 before h2 - -## h2 between h1s - -# h1 after h2