add tests for push#22080
This commit is contained in:
parent
40610643bf
commit
1ab22f7c2b
12
collects/tests/lazy/langimpl.rkt
Normal file
12
collects/tests/lazy/langimpl.rkt
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#lang racket/base
|
||||||
|
|
||||||
|
(require tests/eli-tester lazy)
|
||||||
|
|
||||||
|
;; tests for lazy language constructs
|
||||||
|
|
||||||
|
(define (test-take)
|
||||||
|
(test (take 0 '(1 2 3)) => '())) ; test for push#22080
|
||||||
|
|
||||||
|
(provide langimpl-tests)
|
||||||
|
(define (langimpl-tests)
|
||||||
|
(test do (test-take)))
|
|
@ -1,6 +1,7 @@
|
||||||
#lang scheme/base
|
#lang scheme/base
|
||||||
|
|
||||||
(require tests/eli-tester "promise.ss" "lang.ss")
|
(require tests/eli-tester "promise.rkt" "lang.rkt" "langimpl.rkt")
|
||||||
|
|
||||||
(test do (lang-tests)
|
(test do (lang-tests)
|
||||||
do (promise-tests))
|
do (promise-tests)
|
||||||
|
do (langimpl-tests))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user