comparison stream_js_variables.t @ 1544:53ed2231403b

Tests: js TODO adjusted.
author Dmitry Volyntsev <xeioex@nginx.com>
date Thu, 16 Jan 2020 19:15:25 +0300
parents 4281225b0c52
children e9096949d5f5
comparison
equal deleted inserted replaced
1543:0b97d431571f 1544:53ed2231403b
89 89
90 $t->try_run('no stream njs available')->plan(2); 90 $t->try_run('no stream njs available')->plan(2);
91 91
92 ############################################################################### 92 ###############################################################################
93 93
94 TODO: {
95 local $TODO = 'not yet'
96 unless get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.2.8';
97
98 is(stream('127.0.0.1:' . port(8081))->read(), 'test_var400', 'var set'); 94 is(stream('127.0.0.1:' . port(8081))->read(), 'test_var400', 'var set');
99 is(stream('127.0.0.1:' . port(8082))->read(), 'not_found', 'not found set'); 95 is(stream('127.0.0.1:' . port(8082))->read(), 'not_found', 'not found set');
100
101 }
102 96
103 $t->stop(); 97 $t->stop();
104 98
105 ############################################################################### 99 ###############################################################################
106 # 100 #