]> git.ipfire.org Git - thirdparty/automake.git/commit
t: Test the flatten method
authorMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>
Fri, 8 Jun 2018 09:42:23 +0000 (11:42 +0200)
committerMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>
Fri, 22 Jun 2018 12:18:47 +0000 (14:18 +0200)
commit7f20965b622abc1487382125814edd23ff343335
tree991d6b217085466fad8eb087b087ad9713387c01
parent3276a02345cf14d1d56da2d26521c65a5a4011e8
t: Test the flatten method

Checks if the output string is a flattened version of the input string.  It
should remove trailing and leading whitespaces, multiple whitespaces (and
replace it with single ones) and line breaks in a given string.

* t/pm/Utils.pl: add check_flatten to the test-suite.
t/pm/Utils.pl