mirror of
https://github.com/zerotier/ratpack.git
synced 2026-05-22 16:27:23 -07:00
basic negative testing in route_static test
Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
This commit is contained in:
@@ -111,6 +111,8 @@ mod tests {
|
||||
),
|
||||
);
|
||||
|
||||
assert!(route.dispatch("/a", Request::default()).await.is_err());
|
||||
|
||||
assert!(route.dispatch("/a/b/c", Request::default()).await.is_ok());
|
||||
|
||||
let body = hyper::body::to_bytes(
|
||||
|
||||
Reference in New Issue
Block a user