From f5c83ee7f9f587f4dafb5457738367d36a76151f Mon Sep 17 00:00:00 2001 From: Eugene Kalinin Date: Tue, 14 May 2019 13:25:18 +0300 Subject: [PATCH] fix tests --- tests/tests.bats | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tests/tests.bats b/tests/tests.bats index 7a772e4..5218f0c 100755 --- a/tests/tests.bats +++ b/tests/tests.bats @@ -22,7 +22,8 @@ load test_helper assert_equal "${lines[12]}" " * [GitHub token](#github-token)" assert_equal "${lines[13]}" " * [Tests](#tests)" assert_equal "${lines[14]}" " * [Dependency](#dependency)" - assert_equal "${lines[15]}" "Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)" + assert_equal "${lines[15]}" " * [Docker](#docker)" + assert_equal "${lines[16]}" "Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)" } @@ -58,11 +59,12 @@ load test_helper assert_equal "${lines[10]}" " * [GitHub token](README.md#github-token)" assert_equal "${lines[11]}" " * [Tests](README.md#tests)" assert_equal "${lines[12]}" " * [Dependency](README.md#dependency)" - assert_equal "${lines[13]}" " * [sitemap.js](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#sitemapjs)" - assert_equal "${lines[14]}" " * [Installation](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#installation)" - assert_equal "${lines[15]}" " * [Usage](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#usage)" - assert_equal "${lines[16]}" " * [License](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#license)" - assert_equal "${lines[17]}" "Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)" + assert_equal "${lines[13]}" " * [Docker](README.md#docker)" + assert_equal "${lines[14]}" " * [sitemap.js](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#sitemapjs)" + assert_equal "${lines[15]}" " * [Installation](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#installation)" + assert_equal "${lines[16]}" " * [Usage](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#usage)" + assert_equal "${lines[17]}" " * [License](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#license)" + assert_equal "${lines[18]}" "Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)" } @test "TOC for markdown from stdin" {