comparison js.t @ 709:ad8134cd6f45

Tests: require "njs", not just "js". This helps to avoid confusion with "objs" dir used in win32 build parameters.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 23 Sep 2015 13:22:12 +0300
parents 71a2d58c0a7f
children 460a9cadbd2f
comparison
equal deleted inserted replaced
708:71a2d58c0a7f 709:ad8134cd6f45
19 ############################################################################### 19 ###############################################################################
20 20
21 select STDERR; $| = 1; 21 select STDERR; $| = 1;
22 select STDOUT; $| = 1; 22 select STDOUT; $| = 1;
23 23
24 my $t = Test::Nginx->new()->has(qw/http rewrite js/)->plan(13) 24 my $t = Test::Nginx->new()->has(qw/http rewrite njs/)->plan(13)
25 ->write_file_expand('nginx.conf', <<'EOF'); 25 ->write_file_expand('nginx.conf', <<'EOF');
26 26
27 %%TEST_GLOBALS%% 27 %%TEST_GLOBALS%%
28 28
29 daemon off; 29 daemon off;