add a test for remote meta submodule access

pull/127/head
Matthew Butterick 8 years ago
parent 43c986bd9d
commit c5f86b872a

@ -1 +1 @@
1469050349 1469050761

@ -0,0 +1,3 @@
#lang pollen
(define-meta foo 42)
Zut Alors

@ -0,0 +1,5 @@
#lang racket/base
(require rackunit racket/runtime-path)
(define-runtime-path meta-test "data/metas/metatest.html.pm")
(define metas (dynamic-require `(submod ,meta-test metas) 'metas))
(check-equal? (hash-ref metas 'foo) 42)
Loading…
Cancel
Save