From 1e524789bf7534a806c8fdb6187817ebb3488b83 Mon Sep 17 00:00:00 2001 From: Eugene Kalinin Date: Sun, 2 Aug 2015 15:19:32 +0300 Subject: [PATCH] fixed tests --- tests/tests.bats | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tests.bats b/tests/tests.bats index 78d7fef..5ee894d 100644 --- a/tests/tests.bats +++ b/tests/tests.bats @@ -82,7 +82,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.4" + assert_equal "${lines[0]}" "GitHub TOC generator (gh-md-toc): 0.4.5" 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" @@ -93,7 +93,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.4" + assert_equal "${lines[0]}" "GitHub TOC generator (gh-md-toc): 0.4.5" 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" @@ -104,7 +104,7 @@ load test_helper @test "--version" { run $BATS_TEST_DIRNAME/../gh-md-toc --version assert_success - assert_equal "${lines[0]}" "0.4.4" + assert_equal "${lines[0]}" "0.4.5" } @test "TOC for non-english chars, #6, #10" {