mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-17 17:18:45 +02:00
tests: test: ensure whitespace ignored when parsing numbers
* tests/test/test.pl: Add a test case.
This commit is contained in:
@@ -161,6 +161,7 @@ my @Tests =
|
||||
['eq-4', qw(8 -eq 9), {EXIT=>1}],
|
||||
['eq-5', qw(1 -eq 0), {EXIT=>1}],
|
||||
['eq-6', "$limits->{UINTMAX_OFLOW} -eq 0", {EXIT=>1}],
|
||||
['eq-7', qw(0 -eq ' 0 ')],
|
||||
|
||||
['gt-1', qw(5 -gt 5), {EXIT=>1}],
|
||||
['gt-2', qw(5 -gt 4)],
|
||||
|
||||
Reference in New Issue
Block a user