diff options
Diffstat (limited to 'tests/config-example')
-rw-r--r-- | tests/config-example/main.rs | 1 | ||||
-rw-r--r-- | tests/config-example/narchttpd.rhai | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/tests/config-example/main.rs b/tests/config-example/main.rs index 4b02c58..9f084b7 100644 --- a/tests/config-example/main.rs +++ b/tests/config-example/main.rs @@ -52,5 +52,4 @@ async fn main() { "<p>Hello from sub.domain.test</p>" ); assert!(get("http://dynamic.test").await.contains("hello-there.txt")); - assert_eq!(get("http://function.test").await, "OK"); } diff --git a/tests/config-example/narchttpd.rhai b/tests/config-example/narchttpd.rhai index 7c9185d..713dc3e 100644 --- a/tests/config-example/narchttpd.rhai +++ b/tests/config-example/narchttpd.rhai @@ -14,7 +14,3 @@ domains["dynamic.test"] = proxy_child(#{ in_dir: "./dynamic.test", port: 6970, }); -domains["function.test"] = |request| #{ - status: 200, - body: "OK", -}; |