diff options
author | Dmitry Volyntsev <xeioex@nginx.com> | 2023-09-07 16:12:31 -0700 |
---|---|---|
committer | Dmitry Volyntsev <xeioex@nginx.com> | 2023-09-07 16:12:31 -0700 |
commit | c95c8a826b244c866657782b9afe2d58d1cdaf7a (patch) | |
tree | bbbb65f1c9cc674b12e038d1afd346af918a3472 /nginx/ngx_http_js_module.c | |
parent | ba5fe2cbdb4f6201e54958ed0e26a6d82b0a529a (diff) | |
download | njs-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