fix `planet/version'
Closes PR 13975
This commit is contained in:
parent
e02e04ff2a
commit
9e6809caba
|
@ -4,6 +4,7 @@
|
||||||
racket/match
|
racket/match
|
||||||
unstable/syntax
|
unstable/syntax
|
||||||
racket/syntax
|
racket/syntax
|
||||||
|
racket/private/this-expression-source-directory
|
||||||
planet/planet-archives)
|
planet/planet-archives)
|
||||||
|
|
||||||
(provide this-package-version
|
(provide this-package-version
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#lang racket/base
|
||||||
|
(require planet/version)
|
||||||
|
(provide me)
|
||||||
|
(define me (this-package-version))
|
|
@ -15,6 +15,8 @@
|
||||||
=> (void)
|
=> (void)
|
||||||
(dynamic-require `(file ,(in-here "examples/dummy-module.rkt")) 'result)
|
(dynamic-require `(file ,(in-here "examples/dummy-module.rkt")) 'result)
|
||||||
=> '(successful test result)
|
=> '(successful test result)
|
||||||
|
(dynamic-require '(planet plt/dummy-package/me) 'me)
|
||||||
|
=> '("plt" "dummy-package.plt" 1 0)
|
||||||
(remove-hard-link "plt" "dummy-package.plt" 1 0)
|
(remove-hard-link "plt" "dummy-package.plt" 1 0)
|
||||||
=> (void)
|
=> (void)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user