summaryrefslogtreecommitdiff
path: root/tests/diff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2016-03-03 21:03:10 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2016-03-03 21:03:10 +0100
commite23efa6ddfedf54ef219e15f47da502a50f7b364 (patch)
tree994f49cab6fe3d419157bbbf7d5733fb821e24ac /tests/diff
parent1e8255a39bd50c92add367d01519a76b0d782683 (diff)
downloadlibgit2-e23efa6ddfedf54ef219e15f47da502a50f7b364.tar.gz
tests: take the version from our define
Diffstat (limited to 'tests/diff')
-rw-r--r--tests/diff/format_email.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/diff/format_email.c b/tests/diff/format_email.c
index 8a0128898..e55afe958 100644
--- a/tests/diff/format_email.c
+++ b/tests/diff/format_email.c
@@ -124,7 +124,7 @@ void test_diff_format_email__with_message(void)
" file3\n" \
"+file3\n" \
"--\n" \
- "libgit2 0.23.0\n" \
+ "libgit2 " LIBGIT2_VERSION "\n" \
"\n";
opts.body = "Modify content of file3.txt by appending a new line. Make this\n" \