From 79c03e55e26d88c8d327daced02367abe7f17f91 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 20 Oct 2019 22:03:12 +0200 Subject: tests: Avoid now-deprecated 'make-struct'. * tests/cve.scm (vulnerability): Use 'make-struct/no-tail' instead of 'make-struct', which is deprecated. * tests/lint.scm ("cve: one vulnerability") ("cve: one patched vulnerability") ("cve: known safe from vulnerability") ("cve: vulnerability fixed in replacement version") ("cve: patched vulnerability in replacement"): Likewise. --- tests/cve.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cve.scm') diff --git a/tests/cve.scm b/tests/cve.scm index 3fbb22d3c6..e95b21c073 100644 --- a/tests/cve.scm +++ b/tests/cve.scm @@ -25,7 +25,7 @@ (search-path %load-path "tests/cve-sample.xml")) (define (vulnerability id packages) - (make-struct (@@ (guix cve) ) 0 id packages)) + (make-struct/no-tail (@@ (guix cve) ) id packages)) (define %expected-vulnerabilities ;; What we should get when reading %SAMPLE. -- cgit 1.4.1