NaN_and_Infinity_must_have_parens: { options = {}; input: { Infinity.toString(); NaN.toString(); } expect: { (1/0).toString(); NaN.toString(); // transformation to 0/0 dropped } } NaN_and_Infinity_should_not_be_replaced_when_they_are_redefined: { options = {}; input: { var Infinity, NaN; Infinity.toString(); NaN.toString(); } expect: { var Infinity, NaN; Infinity.toString(); NaN.toString(); } } ndex : guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/status.scm
AgeCommit message (Expand)Author
2022-06-26status: Relay "updating substitutes" messages....Until now, those messages would be accumulated and displayed all at once, when a '\n' was finally emitted by 'guix substitute'. In the meantime, clients would remain silent. * guix/status.scm (bytevector-index): Change 'number' parameter to 'numbers' and adjust accordingly. (build-event-output-port): Pass both #\newline and #\return to 'bytevector-index'. * tests/status.scm ("build-output-port, daemon messages with LF"): New test. Ludovic Courtès
2022-06-26status: Change tests from SRFI-11 to SRFI-71....* tests/status.scm: Use SRFI-71 'let' instead of SRFI-11 'let-values'. Ludovic Courtès