Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: b2d0d92ba8eefbcb5afd8e04a8f263b4938f26ef
https://github.com/Perl/perl5/commit/b2d0d92ba8eefbcb5afd8e04a8f263b4938f26ef
Author: James E Keenan <[email protected]>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M lib/builtin.t
Log Message:
-----------
Test equivalence of 'true' and 'false' to negated statements
The documentation for lib/builtin.pm asserts that 'true' is equivalent
to !!1 or !0, and that false is equivalent to !!0 or !1. Demonstrate
that this is so.
Per review by Paul Evans in https://github.com/Perl/perl5/pull/19252,
we'll use cmp_ok() rather than is() and test for each of 'eq' and '=='.