Author: Lars Hjemli <hjemli@gmail.com>
tests/t0105-commit.sh: expect commit decorations When a commit is referenced by a branch or tag the commit subject- line will be suffixed with the proper decorations, hence the test for this line needs to be updated. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
tests/t0105-commit.sh | 2 +-
diff --git a/tests/t0105-commit.sh b/tests/t0105-commit.sh index a864612971aab367a1f8c6baf8254a3d8517ae6b..ae794c88de0ae24cf13eed5d26ee69a06c2b3718 100755 --- a/tests/t0105-commit.sh +++ b/tests/t0105-commit.sh @@ -9,7 +9,7 @@ run_test 'find tree link' 'grep -e "" trash/tmp' run_test 'find parent link' 'grep -E "<a href=./foo/commit/\?id=.+>" trash/tmp' run_test 'find commit subject' ' - grep -e "<div class=.commit-subject.>commit 5</div>" trash/tmp + grep -e "<div class=.commit-subject.>commit 5<" trash/tmp ' run_test 'find commit msg' 'grep -e "<div class=.commit-msg.></div>" trash/tmp'