You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pollen/tests/requires/include-me.rkt

16 lines
362 B
Racket

11 years ago
#lang racket/base
11 years ago
(require racket/contract)
(require (planet mb/pollen/tools) (planet mb/pollen/decode))
11 years ago
(provide (all-defined-out))
11 years ago
(module+ test (require rackunit))
11 years ago
11 years ago
(define (root . items)
(named-xexpr? . -> . named-xexpr?)
`(root ,@(merge-newlines items)))
11 years ago
11 years ago
(module+ test
(check-equal? (root "foo" "\n" "\n") '(root "foo" "\n\n")))
(define foo "bar")