X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tests%2Ftest-agenda.scm;h=06f24f35c9a6329321eafdea161510bcf71d4aec;hb=743fdb8a79e771cfbd98ed53a66a4d129f8fe2f6;hp=e3e12c59a5491d2f09d4aae67a27fc265f66cd42;hpb=98edc693d1eb7ebe72c6ce722cf716c670cb21e3;p=8sync.git diff --git a/tests/test-agenda.scm b/tests/test-agenda.scm index e3e12c5..06f24f3 100644 --- a/tests/test-agenda.scm +++ b/tests/test-agenda.scm @@ -19,13 +19,14 @@ -s !# -(define-module (tests test-core) +(define-module (tests test-agenda) #:use-module (srfi srfi-64) #:use-module (ice-9 q) #:use-module (ice-9 receive) - #:use-module (eightsync agenda)) + #:use-module (eightsync agenda) + #:use-module (tests utils)) -(test-begin "tests-agenda") +(test-begin "test-agenda") @@ -238,7 +239,7 @@ (test-equal (run-request-when run-two-squared) '(88 . 0))) -;;; %run, %sync and friends tests +;;; %run, %8sync and friends tests ;;; ----------------------------- (define (test-%run-and-friends async-request expected-when) @@ -263,10 +264,10 @@ 8) ;; whoa, I'm surprised equal? can ;; compare records like this - (tdelta 8 0)) + (tdelta 8)) ;; TODO: test %port-request -;; TODO: test %sync and friends! +;; TODO: test %8sync and friends! ;;; Agenda tests @@ -319,7 +320,7 @@ (speaker "Today I went to the zoo and I saw...\n") (speaker (string-concatenate - `("A " ,(symbol->string (%sync (%run (return-monkey)))) "!\n")))) + `("A " ,(symbol->string (%8sync (%run (return-monkey)))) "!\n")))) (let ((q (make-q))) (set! speaker (speak-it)) @@ -334,6 +335,7 @@ ;; End tests -(test-end "tests-agenda") -;; (test-exit) +(test-end "test-agenda") + +(test-exit)