diff js_return.t @ 1614:bc0990ea2e5b

Tests: js TODO adjusted up to 0.4.0.
author Dmitry Volyntsev <xeioex@nginx.com>
date Tue, 17 Nov 2020 17:49:16 +0000
parents 9bc1ca067449
children 18ac4d9e5a2a
line wrap: on
line diff
--- a/js_return.t
+++ b/js_return.t
@@ -43,10 +43,6 @@ http {
         listen       127.0.0.1:8080;
         server_name  localhost;
 
-        location /njs {
-            js_content test_njs;
-        }
-
         location / {
             js_content test_return;
         }
@@ -56,10 +52,6 @@ http {
 EOF
 
 $t->write_file('test.js', <<EOF);
-    function test_njs(r) {
-        r.return(200, njs.version);
-    }
-
     function test_return(r) {
         r.return(Number(r.args.c), r.args.t);
     }