Author: Michael Davis [mcarsondavis@gmail.com]
Hash: 4285bcb9e6a38003ad3a7dea91c2ad2c5bb0f13a
Timestamp: Fri, 24 Dec 2021 02:28:19 +0000 (2 years ago)

+32 -0 +/-1 browse
test case for 'no newline at end of file'
1diff --git a/test/corpus/text.txt b/test/corpus/text.txt
2index 449e907..0ad3007 100644
3--- a/test/corpus/text.txt
4+++ b/test/corpus/text.txt
5 @@ -108,3 +108,35 @@ Location with no context
6 (location
7 (linerange)
8 (linerange)))
9+
10+ ================================================================================
11+ No newline at end of file
12+ ================================================================================
13+ diff --git a/tmp.txt b/tmp.txt
14+ new file mode 100644
15+ index 00000000..ee9808dc
16+ --- /dev/null
17+ +++ b/tmp.txt
18+ @@ -0,0 +1 @@
19+ +aaa
20+ \ No newline at end of file
21+
22+ --------------------------------------------------------------------------------
23+
24+ (source
25+ (command
26+ (filename))
27+ (file_change
28+ (mode))
29+ (index
30+ (commit)
31+ (commit))
32+ (file
33+ (filename))
34+ (file
35+ (filename))
36+ (location
37+ (linerange)
38+ (linerange))
39+ (addition)
40+ (context))