aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_http_js_module.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2023-09-07 16:12:31 -0700
committerDmitry Volyntsev <xeioex@nginx.com>2023-09-07 16:12:31 -0700
commitc95c8a826b244c866657782b9afe2d58d1cdaf7a (patch)
treebbbb65f1c9cc674b12e038d1afd346af918a3472 /nginx/ngx_http_js_module.c
parentba5fe2cbdb4f6201e54958ed0e26a6d82b0a529a (diff)
downloadnjs-c95c8a826b244c866657782b9afe2d58d1cdaf7a.tar.gz
njs-c95c8a826b244c866657782b9afe2d58d1cdaf7a.zip
Tests: fixed incr() tests for a shared dictionary.
Previously, the incr() method called SharedDict.incr() with a NaN value as a second argument because parseInt(undefined) returns NaN. The test itself failed to capture the issue because it matches the whole HTTP response and the pattern itself was too short, so it matched accidentally.
Diffstat (limited to 'nginx/ngx_http_js_module.c')
0 files changed, 0 insertions, 0 deletions