aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-06-13 23:25:06 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-06-14 11:55:20 +0200
commitc1f3d43399474b768dde5e1a8a3c49add4bd00c2 (patch)
tree921b9b63bd20f4e966595f0cb19641517d4cd8c9
parentf685f614cc27d018c4d61589c15dc71fa9f82bb9 (diff)
feat: Rename tests with new terminology0.2.0
-rw-r--r--tests/router.lisp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/router.lisp b/tests/router.lisp
index f23d8c5..1eb91e8 100644
--- a/tests/router.lisp
+++ b/tests/router.lisp
@@ -10,7 +10,7 @@
:redirect-rule '(("/community/" . "/c/")
("/about/" . (not "/" "/v/")))))
-(defparameter *redirector-with-regexp-trigger*
+(defparameter *redirector-with-regexp-route*
(make-instance 'router:redirector
:route "https://(\\w+)\\.atlas.engineer/(.*)"
:redirect-url "https://atlas.engineer/\\1/\\2"))
@@ -71,10 +71,10 @@
(nx-router::compute-router *redirector-with-nonstandard-port-and-scheme*
(quri:make-uri :defaults *url* :path "/articles"))))
-(define-test redirector-with-regexp-trigger ()
+(define-test redirector-with-regexp-route ()
(assert-equality #'quri:uri=
(quri:uri "https://atlas.engineer/nyxt/contact")
- (nx-router::compute-router *redirector-with-regexp-trigger*
+ (nx-router::compute-router *redirector-with-regexp-route*
(quri:make-uri :defaults *url*
:host "nyxt.atlas.engineer"
:path "/contact"))))