summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-02-23 12:42:58 +0100
committerLudovic Courtès <ludo@gnu.org>2020-02-23 12:47:13 +0100
commitfa99c4bbc7acdb8def9ce14a05aacb73f99fe3b1 (patch)
tree953d26ba2fc7e05c0b04ab45cb0fed8b0a1d25b9 /scripts
parent9f2fef4fb164df81034c2b114292d836a9f6d4f8 (diff)
downloadguix-fa99c4bbc7acdb8def9ce14a05aacb73f99fe3b1.tar.gz
ui: (size->number "1.M") is correctly parsed.
Reported by Pierre Neidhardt <mail@ambrevar.xyz>.

* guix/ui.scm (size->number)[unit-pos]: Add #\. to CHAR-SET:DIGIT.
* tests/ui.scm ("size->number, 1.M"): New test.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions