# HG changeset patch # User Dmitry Volyntsev # Date 1528116277 -10800 # Node ID 746d9ffdbd265aa49ecea433b6b2f6dbd7eec763 # Parent fe60c39590694237f10f27a30c8854a8c582f1ab Tests: fixed empty js_content test committed in f48d2792730e. njs 0.2.1 version is required for the test. The versions prior to 0.2.0 are no longer maintained. diff --git a/js.t b/js.t --- a/js.t +++ b/js.t @@ -52,6 +52,10 @@ http { listen 127.0.0.1:8080; server_name localhost; + location /njs { + js_content test_njs; + } + location /req_method { return 200 $test_method; } @@ -133,6 +137,10 @@ http { EOF $t->write_file('test.js', <stop(); ok(index($t->read_file('error.log'), 'SEE-THIS') > 0, 'log js');