;;; 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")f7e1d89e630bf2a71507da6bcd24f5fbb742f69'>diff
AgeCommit message (Expand)Author
2024-09-29gnu: php: Update to 8.3.12....* gnu/packages/php.scm (php): Update to 8.3.12. Change-Id: Ic9c60659e8dad0d00958475dc283259eb3de4072 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Wilko Meyer
2024-09-05gnu: php: Disable tests relating to BICUBIC interpolation....* gnu/packages/php.scm (php)[arguments]: Delete three tests that are known to fail. Change-Id: Ib684328654c75f37111d252fb0f9fb3356daff9a Signed-off-by: Andreas Enge <andreas@enge.fr> Carlo Zancanaro
2024-09-05gnu: php: Fix check phase....* gnu/packages/php.scm (php): Add missing inputs. These should potentially be propagated by gd instead, see https://issues.guix.gnu.org/72968 Change-Id: I3ddc47e5ad121a8177e3a12c5dfe154a8d6029b6 Signed-off-by: Andreas Enge <andreas@enge.fr> Noé Lopez
2024-08-05gnu: php: Update to 8.3.10....* gnu/packages/php.scm (php): Update to 8.3.10. Change-Id: I75e5ee0afda02f7978f8aeeeb10deb4fa2510409 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Wilko Meyer
2024-07-18gnu: php: Update to 8.3.9....* gnu/packages/php.scm (php): Update to 8.3.9. Change-Id: Icdd41fff7fd89dd0116988acb0f7aa28c2e77ebe Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Wilko Meyer
2024-06-29gnu: php: Update to 8.3.8....* gnu/packages/php.scm (php): Update to 8.3.8. Change-Id: Ia0714520973b537a82d12fb346f3efbadfc11e61 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Wilko Meyer
2024-04-26gnu: php: Update to 8.3.6....* gnu/packages/php.scm (php): Update to 8.3.6. Change-Id: I8f173558fc4098d6d72b42724e5e106d7dabb62a Signed-off-by: Christopher Baines <mail@cbaines.net> Wilko Meyer