1
0
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:
Pádraig Brady
2026-01-21 13:45:53 +00:00
parent 89ea90fae8
commit 88760f9c10

View File

@@ -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)],