;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2022 Philip McGrath ;;; ;;; 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-elm) #:use-module (guix build-system elm) #:use-module (guix import elm) #:use-module (guix base32) #:use-module (guix hash) #:use-module (guix utils) #:autoload (gcrypt hash) (hash-algorithm sha256) #:use-module (json) #:use-module (ice-9 match) #:use-module (srfi srfi-64)) (test-begin "elm") (test-group "elm->package-name and infer-elm-package-name" (test-group "round trip" ;; Cases when our heuristics can find the upstream name. (define-syntax-rule (test-round-trip elm
aboutsummaryrefslogtreecommitdiff