racket/pkgs/racket-test-core/tests/racket/bytes.rktl
Sam Tobin-Hochstadt 448213e9dc Split the core racket tests into the "racket-test-core" pkg.
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.
2014-12-15 01:59:56 -05:00

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)