mirror of
https://codeberg.org/cage/tinmop/
synced 2025-02-06 05:03:17 +01:00
- fixed symbol export for 'normalize path' (thanks op!).
This commit is contained in:
parent
954aa2eaa0
commit
e8e4711074
@ -31,6 +31,7 @@
|
|||||||
:config
|
:config
|
||||||
:constants
|
:constants
|
||||||
:text-utils
|
:text-utils
|
||||||
|
:iri-parser
|
||||||
:misc
|
:misc
|
||||||
:alexandria
|
:alexandria
|
||||||
:gemini-constants)
|
:gemini-constants)
|
||||||
|
@ -709,7 +709,6 @@
|
|||||||
:path
|
:path
|
||||||
:query
|
:query
|
||||||
:fragment
|
:fragment
|
||||||
:normalize-path
|
|
||||||
:make-uri))
|
:make-uri))
|
||||||
|
|
||||||
(defpackage :iri-parser
|
(defpackage :iri-parser
|
||||||
@ -720,6 +719,7 @@
|
|||||||
:cl-ppcre
|
:cl-ppcre
|
||||||
:text-utils)
|
:text-utils)
|
||||||
(:nicknames :iri)
|
(:nicknames :iri)
|
||||||
|
(:import-from :fs :normalize-path)
|
||||||
(:export
|
(:export
|
||||||
:+segment-separator+
|
:+segment-separator+
|
||||||
:iri
|
:iri
|
||||||
@ -727,6 +727,7 @@
|
|||||||
:render-iri
|
:render-iri
|
||||||
:make-iri
|
:make-iri
|
||||||
:iri-parse
|
:iri-parse
|
||||||
|
:normalize-path
|
||||||
:absolute-url-p
|
:absolute-url-p
|
||||||
:ipv4-address-p
|
:ipv4-address-p
|
||||||
:ipv6-address-p))
|
:ipv6-address-p))
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
(assert-true (test-uri a b) a)))
|
(assert-true (test-uri a b) a)))
|
||||||
|
|
||||||
(defun normalize (path expected)
|
(defun normalize (path expected)
|
||||||
(string= (uri:normalize-path path)
|
(string= (fs:normalize-path path)
|
||||||
expected))
|
expected))
|
||||||
|
|
||||||
(deftest test-normalize-path (uri-suite)
|
(deftest test-normalize-path (uri-suite)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user