From cb769c62e55599e9f980001830bc61d9fcaa64a9 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Tue, 8 Feb 2022 09:18:08 -0500 Subject: WHITESPACE ONLY -- expand tabs in source code This comment expands all tabs using an 8-character tab-width. You should ignore this commit when using git blame or use git blame -w. In the early days, I used to use tabs where possible for indentation, since emacs did this automatically. In recent years, I have switched to only using spaces, which means qpdf source code has been a mixture of spaces and tabs. I have avoided cleaning this up because of not wanting gratuitous whitespaces change to cloud the output of git blame, but I changed my mind after discussing with users who view qpdf source code in editors/IDEs that have other tab widths by default and in light of the fact that I am planning to start applying automatic code formatting soon. --- libtests/qtest/flate.test | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'libtests/qtest/flate.test') diff --git a/libtests/qtest/flate.test b/libtests/qtest/flate.test index b7acae60..3d99bc3a 100644 --- a/libtests/qtest/flate.test +++ b/libtests/qtest/flate.test @@ -32,24 +32,24 @@ close(F); check_file("farbage", "a6449c61db5b0645c0693b7560b77a60"); $td->runtest("run driver", - {$td->COMMAND => "flate farbage"},, - {$td->STRING => "bytes written to o3: 100010\ndone\n", - $td->EXIT_STATUS => 0}, - $td->NORMALIZE_NEWLINES); + {$td->COMMAND => "flate farbage"},, + {$td->STRING => "bytes written to o3: 100010\ndone\n", + $td->EXIT_STATUS => 0}, + $td->NORMALIZE_NEWLINES); check_file("farbage", "a6449c61db5b0645c0693b7560b77a60"); $td->runtest("compressed file correct", - {$td->FILE => "farbage.1"}, - {$td->FILE => "compressed"}); + {$td->FILE => "farbage.1"}, + {$td->FILE => "compressed"}); $td->runtest("uncompress filter works", - {$td->FILE => "farbage"}, - {$td->FILE => "farbage.2"}); + {$td->FILE => "farbage"}, + {$td->FILE => "farbage.2"}); $td->runtest("double filter works", - {$td->FILE => "farbage"}, - {$td->FILE => "farbage.3"}); + {$td->FILE => "farbage"}, + {$td->FILE => "farbage.3"}); cleanup(); @@ -69,6 +69,6 @@ sub check_file close(F); my $result = $md5->hexdigest; $td->runtest("check $file", - {$td->STRING => "$result\n"}, - {$td->STRING => "$sum\n"}); + {$td->STRING => "$result\n"}, + {$td->STRING => "$sum\n"}); } -- cgit v1.2.3-70-g09d2