diff options
| author | Shulhan <ms@kilabit.info> | 2022-07-25 01:54:57 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-07-25 01:54:57 +0700 |
| commit | 6c72cd80c30f62885809ac874e9869fdb0a1aaaa (patch) | |
| tree | 7dec5f53e306a565d995cb330b42a2ede1817726 /lib/ini/testdata/struct/slice_of_primitive_test.txt | |
| parent | eb932c941bd3456f5b0635641274853e062916e7 (diff) | |
| download | pakakeh.go-6c72cd80c30f62885809ac874e9869fdb0a1aaaa.tar.xz | |
lib/test: truncate the last new line at the end of input and output
Given the following input and output,
>>>
input
<<<
output
EOF
The input and output content always have new line at the end.
This may cause unexpected input or output.
If input or output content expecting new line at the end, add two empty
lines at the end of it.
Diffstat (limited to 'lib/ini/testdata/struct/slice_of_primitive_test.txt')
| -rw-r--r-- | lib/ini/testdata/struct/slice_of_primitive_test.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ini/testdata/struct/slice_of_primitive_test.txt b/lib/ini/testdata/struct/slice_of_primitive_test.txt index baefe86f..c44c9dcf 100644 --- a/lib/ini/testdata/struct/slice_of_primitive_test.txt +++ b/lib/ini/testdata/struct/slice_of_primitive_test.txt @@ -44,3 +44,4 @@ string = string 1 string = string 2 time = 2021-02-28 03:56:01 time = 2021-02-28 03:56:02 + |
