Mercurial > hg > nginx-tests
diff js_variables.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 | 9521130f6f22 |
children | 18ac4d9e5a2a |
line wrap: on
line diff
--- a/js_variables.t +++ b/js_variables.t @@ -45,10 +45,6 @@ http { set $foo foo_orig; - location /njs { - js_content test_njs; - } - location /var_set { return 200 $test_var$foo; } @@ -66,10 +62,6 @@ http { EOF $t->write_file('test.js', <<EOF); - function test_njs(r) { - r.return(200, njs.version); - } - function test_var(r) { r.variables.foo = r.variables.arg_a; return 'test_var';