diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ob_parse_changelog.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/ob_parse_changelog.sh b/tests/ob_parse_changelog.sh index 7d820b4..8c29042 100755 --- a/tests/ob_parse_changelog.sh +++ b/tests/ob_parse_changelog.sh @@ -45,7 +45,7 @@ foo (1) trunk -- "J. Random Hacker" <jrandom@example.com> Thu, 01 Jan 1970 00:00:00 +0000 ' -plan_ 18 +plan_ 19 entry=0 @@ -121,6 +121,11 @@ entry_3() return 1 } +entry_4() +{ + : This should not be reached. +} + entry_cb() { entry=$((${entry} + 1)) @@ -130,3 +135,5 @@ entry_cb() ob_parse_changelog - entry_cb <<-EOF ${CHANGELOG} EOF + +is 'number of parsed entries' "${entry}" 3 |