Commit e23efa6ddfedf54ef219e15f47da502a50f7b364

Carlos Martín Nieto 2016-03-03T21:03:10

tests: take the version from our define

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/diff/format_email.c b/tests/diff/format_email.c
index 8a01288..e55afe9 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" \