diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-02-23 12:42:58 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-02-23 12:47:13 +0100 |
commit | fa99c4bbc7acdb8def9ce14a05aacb73f99fe3b1 (patch) | |
tree | 953d26ba2fc7e05c0b04ab45cb0fed8b0a1d25b9 /tests/containers.scm | |
parent | 9f2fef4fb164df81034c2b114292d836a9f6d4f8 (diff) |
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 'tests/containers.scm')
0 files changed, 0 insertions, 0 deletions