Skip to content

Commit

Permalink
0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ekalinin committed Jul 8, 2015
1 parent 766d757 commit f556995
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gh-md-toc
Expand Up @@ -23,7 +23,7 @@
# substr($0, match($0, "href=\".*\" ")+5, RLENGTH-6)
#

gh_toc_version="0.4.2"
gh_toc_version="0.4.3"

gh_user_agent="gh-md-toc v$gh_toc_version"

Expand Down
6 changes: 3 additions & 3 deletions tests/tests.bats
Expand Up @@ -79,7 +79,7 @@ load test_helper
@test "--help" {
run $BATS_TEST_DIRNAME/../gh-md-toc --help
assert_success
assert_equal "${lines[0]}" "GitHub TOC generator (gh-md-toc): 0.4.2"
assert_equal "${lines[0]}" "GitHub TOC generator (gh-md-toc): 0.4.3"
assert_equal "${lines[1]}" "Usage:"
assert_equal "${lines[2]}" " gh-md-toc src [src] Create TOC for a README file (url or local path)"
assert_equal "${lines[3]}" " gh-md-toc - Create TOC for markdown from STDIN"
Expand All @@ -90,7 +90,7 @@ load test_helper
@test "no arguments" {
run $BATS_TEST_DIRNAME/../gh-md-toc
assert_success
assert_equal "${lines[0]}" "GitHub TOC generator (gh-md-toc): 0.4.2"
assert_equal "${lines[0]}" "GitHub TOC generator (gh-md-toc): 0.4.3"
assert_equal "${lines[1]}" "Usage:"
assert_equal "${lines[2]}" " gh-md-toc src [src] Create TOC for a README file (url or local path)"
assert_equal "${lines[3]}" " gh-md-toc - Create TOC for markdown from STDIN"
Expand All @@ -101,7 +101,7 @@ load test_helper
@test "--version" {
run $BATS_TEST_DIRNAME/../gh-md-toc --version
assert_success
assert_equal "${lines[0]}" "0.4.2"
assert_equal "${lines[0]}" "0.4.3"
}

@test "TOC for non-english chars, #6, #10" {
Expand Down

0 comments on commit f556995

Please sign in to comment.