#lang racket/base (require rackunit) (require "../template.rkt") (define x '(root (p "hello"))) (check-equal? (->html x) "

hello

") (check-equal? (->html #:tag 'brennan x) "

hello

") (check-equal? (->html #:attrs '((id "dale")) x) "

hello

") (check-equal? (->html #:splice #t x) "

hello

") (check-equal? (->html #:tag 'brennan #:attrs '((id "dale")) x) "

hello

") (check-equal? (->html #:tag 'brennan #:attrs '((id "dale")) #:splice #t x) "

hello

")