tests: Avoid now-deprecated 'make-struct'.
[jackhill/guix/guix.git] / tests / cve.scm
index 3fbb22d..e95b21c 100644 (file)
@@ -25,7 +25,7 @@
   (search-path %load-path "tests/cve-sample.xml"))
 
 (define (vulnerability id packages)
-  (make-struct (@@ (guix cve) <vulnerability>) 0 id packages))
+  (make-struct/no-tail (@@ (guix cve) <vulnerability>) id packages))
 
 (define %expected-vulnerabilities
   ;; What we should get when reading %SAMPLE.