From e712ce4e7cb6aac7469682cc05079707cbfb759b Mon Sep 17 00:00:00 2001 From: Austin Wise Date: Wed, 14 Jul 2021 01:03:30 -0700 Subject: Fix silent errors when reading lines from input files. Handle files that don't end with a new line. Throw an error when the buffer size is exceeded. Fixes #516 Contributes to #1149 --- test/regress/516.test | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/regress/516.test (limited to 'test/regress/516.test') diff --git a/test/regress/516.test b/test/regress/516.test new file mode 100644 index 00000000..538b5cb3 --- /dev/null +++ b/test/regress/516.test @@ -0,0 +1,4 @@ +test cleared --file test/input/parsing.dat --cleared-format "%-30(account) %15(get_at(total_expr, 0)) %15(get_at(total_expr, 1))\n%/" +Assets $30 0 +Income $-30 0 +end test -- cgit v1.2.3