diff --git a/gh-md-toc b/gh-md-toc index 471a3ca..44d2a15 100755 --- a/gh-md-toc +++ b/gh-md-toc @@ -23,7 +23,7 @@ # substr($0, match($0, "href=\"[^\"]+?\" ")+6, RLENGTH-8) # -gh_toc_version="0.8.0" +gh_toc_version="0.9.0" gh_user_agent="gh-md-toc v$gh_toc_version" diff --git a/tests/tests.bats b/tests/tests.bats index 81638d8..c02751b 100755 --- a/tests/tests.bats +++ b/tests/tests.bats @@ -148,7 +148,7 @@ test_help() { @test "--version" { run $BATS_TEST_DIRNAME/../gh-md-toc --version assert_success - assert_equal "${lines[0]}" "0.8.0" + assert_equal "${lines[0]}" "0.9.0" assert_equal "${lines[1]}" "os: `uname -s`" assert_equal "${lines[2]}" "arch: `uname -m`" } @@ -232,4 +232,4 @@ test_help() { assert_equal "${lines[7]}" " * [This is a regression test for atx-style](#this-is-a-regression-test-for-atx-style)" assert_equal "${lines[8]}" "* [Title four is a particularly long title because of wrapping](#title-four-is-a-particularly-long-title-because-of-wrapping)" assert_equal "${lines[9]}" " * [This is a test for long titles](#this-is-a-test-for-long-titles)" -} \ No newline at end of file +}