make subdir a complete path (closes #228)
parent
cf9b81738a
commit
790c166b5a
@ -1 +1 @@
|
||||
1592782348
|
||||
1593668186
|
||||
|
@ -0,0 +1,12 @@
|
||||
#lang at-exp racket/base
|
||||
(require rackunit
|
||||
racket/runtime-path
|
||||
pollen/file)
|
||||
|
||||
(define-runtime-path example "data/ext/example.html")
|
||||
(define-runtime-path example-pm "data/ext/example.html.pm")
|
||||
(define-runtime-path another "data/ext/sub/another.html")
|
||||
(define-runtime-path another-pm "data/ext/sub/another.html.pm")
|
||||
|
||||
(check-equal? (get-markup-source example) example-pm)
|
||||
(check-equal? (get-markup-source another) another-pm)
|
Loading…
Reference in New Issue