;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Nikita Karetnikov ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (test-base64) #:use-module (guix base64) #:use-module (rnrs bytevectors) #:use-module (srfi srfi-64)) (define (string->base64 str) (base64-encode (string->utf8 str))) ;;; Test vectors from . (test-begin "base64") (test-equal "empty string" (string->base64 "") "") (test-equal "f" (string->base64 "f") "Zg==") (test-equal "fo" (string->base64 "fo") "Zm8=") (test-equal "foo" (string->base64 "foo") "Zm9v") (test-equal "foob" (string->base64 "foob") "Zm9vYg==") (test-equal "fooba" (string->base64 "fooba") "Zm9vYmE=") (test-equal "foobar" (string->base64 "foobar") "Zm9vYmFy") (test-end "base64")u4c.scm?id=50ece0e14c4f7101cebb116b4d9a8a038b8d9edd'>diff
AgeCommit message (Expand)Author
2022-07-11gnu: icu4c-70: Fix building on riscv64-linux....* gnu/packages/icu4c.scm (icu4c-70)[arguments]: When building for riscv64-linux replace the custom 'disable-failing-test phase to skip an additional test. Efraim Flashner
2022-06-23gnu: icu4c: Add 71.1....* gnu/packages/icu4c.scm (icu4c-71): New variable. Marius Bakke
2022-01-27gnu: icu4c: Skip tests on riscv64-linux....* gnu/packages/icu4c.scm (icu4c)[arguments]: Add phase to skip failing test on riscv64-linux. Efraim Flashner
2022-01-15gnu: icu4c: Add version 70....Required for Icecat/Icedove >= 96.0. * gnu/packages/icu4c.scm (icu4c-70): New variable. Jonathan Brielmaier
2021-12-23gnu: java-icu4j: Update to 70.1....* gnu/packages/icu4c.scm (java-icu4j): Update to 70.1. [arguments]: Remove trailing #T from build phases. Ricardo Wurmus
2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès
2021-09-18gnu: icu4j: Fix build....* gnu/packages/icu4c.scm (icu4j)[arguments]: Use gexp for 'make-flags'. Guillaume Le Vaillant
2021-08-08gnu: Remove redundant icu4c-69....* gnu/packages/icu4c.scm (icu4c-69): Remove variable. * gnu/packages/chromium.scm (ungoogled-chromium)[inputs]: Replace icu4c-69 with icu4c. Efraim Flashner