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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
pollen-tfl/pollen-lp-submod-test.rkt

9 lines
424 B
Racket

#lang racket
(module test racket
(require rackunit txexpr "pollen-lp.scrbl")
(#reader scribble/reader
;; always include this at the start of the test submodule
(check-txexprs-equal? (link "http://foo.com" "link text")
'(a ((href "http://foo.com")) "link text"))
(check-txexprs-equal? @link["http://foo.com"]{link text}
'(a ((href "http://foo.com")) "link textz"))))