X-Git-Url: https://jxself.org/git/?p=8sync.git;a=blobdiff_plain;f=tests%2Ftest-rmeta-slot.scm;h=37dac50ec3dfacd2cad3f12fb8bb8dec1576e47e;hp=0fd4b6f99c7952e05d00351475a8e8084505c80b;hb=HEAD;hpb=41b32934e39cb7b778e12bf8c61630acc38d2a72 diff --git a/tests/test-rmeta-slot.scm b/tests/test-rmeta-slot.scm index 0fd4b6f..7aaa248 100644 --- a/tests/test-rmeta-slot.scm +++ b/tests/test-rmeta-slot.scm @@ -1,5 +1,6 @@ ;;; 8sync --- Asynchronous programming for Guile ;;; Copyright (C) 2017 Christopher Allan Webber +;;; Copyright (C) 2021 Jan (janneke) Nieuwenhuizen ;;; ;;; This file is part of 8sync. ;;; @@ -27,8 +28,8 @@ ;; Define a class (define-class () (entries #:allocation #:each-subclass - #:init-value - (make-rmeta-slot + #:init-thunk + (build-rmeta-slot `((foo . "bar") (baz . "basil"))))) @@ -41,8 +42,8 @@ (define-class () (entries #:allocation #:each-subclass - #:init-value - (make-rmeta-slot + #:init-thunk + (build-rmeta-slot `((foo . "foo2") (peanut . "gallery"))))) @@ -62,5 +63,5 @@ (class-rmeta-ref 'entries 'not-defined #:dflt "no-way")) -(test-end "test-rmeta-slot") (test-exit) +(test-end "test-rmeta-slot")