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.
9 lines
424 B
Racket
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")))) |