mirror of
https://github.com/vale981/lack
synced 2025-03-05 09:21:39 -05:00
Add a test for inline middlewares in builder.
This commit is contained in:
parent
04126dbc2b
commit
735cb1eee6
1 changed files with 8 additions and 0 deletions
|
@ -19,6 +19,14 @@
|
|||
'function
|
||||
"builder")
|
||||
|
||||
(is-type (builder
|
||||
(lambda (app)
|
||||
(lambda (env)
|
||||
(funcall app env)))
|
||||
*app*)
|
||||
'function
|
||||
"Inline middleware")
|
||||
|
||||
(is-type (builder
|
||||
(if t
|
||||
(lambda (app)
|
||||
|
|
Loading…
Add table
Reference in a new issue