aboutsummaryrefslogtreecommitdiff
path: root/tests/go.scm
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2021-08-06 11:05:17 -0700
committerLudovic Courtès <ludo@gnu.org>2021-09-01 23:41:42 +0200
commitbe13e2be08feb88d868f911d8f55b0451fe15e10 (patch)
tree35127fcd5b9494c028a377acd5b306f8fccf3361 /tests/go.scm
parentf95bdeb93a30b89c821627aa91da4ef3afaeb5af (diff)
downloadguix-be13e2be08feb88d868f911d8f55b0451fe15e10.tar
guix-be13e2be08feb88d868f911d8f55b0451fe15e10.tar.gz
import: go: Improve error handling.
* guix/import/go.scm (go-module->guix-package*): Handle errors, remove memoize. (go-module-recursive-import): Remove 'guard', add memoize. * guix/scripts/import/go.scm (guix-import-go): Adjust. * tests/go.scm: Adjust. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests/go.scm')
-rw-r--r--tests/go.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/go.scm b/tests/go.scm
index 6749f4585f..9e7223ff7c 100644
--- a/tests/go.scm
+++ b/tests/go.scm
@@ -410,6 +410,6 @@ package.")
(nix-base32-string->bytevector
"0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5")
#f)))
- (go-module->guix-package "github.com/go-check/check")))))))
+ (go-module->guix-package* "github.com/go-check/check")))))))
(test-end "go")