Skip to content

Commit f5c83ee

Browse files
committed
fix tests
1 parent 7d9865f commit f5c83ee

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

tests/tests.bats

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ load test_helper
2222
assert_equal "${lines[12]}" " * [GitHub token](#github-token)"
2323
assert_equal "${lines[13]}" " * [Tests](#tests)"
2424
assert_equal "${lines[14]}" " * [Dependency](#dependency)"
25-
assert_equal "${lines[15]}" "Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)"
25+
assert_equal "${lines[15]}" " * [Docker](#docker)"
26+
assert_equal "${lines[16]}" "Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)"
2627

2728
}
2829

@@ -58,11 +59,12 @@ load test_helper
5859
assert_equal "${lines[10]}" " * [GitHub token](README.md#github-token)"
5960
assert_equal "${lines[11]}" " * [Tests](README.md#tests)"
6061
assert_equal "${lines[12]}" " * [Dependency](README.md#dependency)"
61-
assert_equal "${lines[13]}" " * [sitemap.js](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#sitemapjs)"
62-
assert_equal "${lines[14]}" " * [Installation](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#installation)"
63-
assert_equal "${lines[15]}" " * [Usage](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#usage)"
64-
assert_equal "${lines[16]}" " * [License](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#license)"
65-
assert_equal "${lines[17]}" "Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)"
62+
assert_equal "${lines[13]}" " * [Docker](README.md#docker)"
63+
assert_equal "${lines[14]}" " * [sitemap.js](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#sitemapjs)"
64+
assert_equal "${lines[15]}" " * [Installation](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#installation)"
65+
assert_equal "${lines[16]}" " * [Usage](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#usage)"
66+
assert_equal "${lines[17]}" " * [License](https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md#license)"
67+
assert_equal "${lines[18]}" "Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)"
6668
}
6769

6870
@test "TOC for markdown from stdin" {

0 commit comments

Comments
 (0)