
This supports running the core tests on systems which can't run or don't want to install all the dependencies of the "racket-test" package. The "racket-test-core" pkg stil depends on "sandbox-lib" because the sandbox tests live with the core tests. Hopefully I'll be able to fix that eventually.
18 lines
340 B
Racket
18 lines
340 B
Racket
|
|
(load-relative "loadtest.rktl")
|
|
|
|
(Section 'bytes)
|
|
|
|
(require racket/bytes)
|
|
|
|
;; ---------- bytes-join ----------
|
|
(let ()
|
|
(test #"" bytes-join '() #" ")
|
|
(test #"" bytes-join '(#"") #" ")
|
|
(test #" " bytes-join '(#"" #"") #" ")
|
|
(test #"x y" bytes-join '(#"x" #"y") #" ")
|
|
(test #"x" bytes-join '(#"x") #" "))
|
|
|
|
|
|
(report-errs)
|