searxng/tests
Alexandre Flament 72f5e7cfb8 js_variable_to_python: add tests, handle more JS syntax
The tests from chompjs are copied.
The comment out tests do not pass.
The implementation of js_variable_to_python has been updated:
* in the main looop, try to make the four different cases more clear
* handle decimal number like "-.5", "5." or "- 5"  (without double quote)
* the character ` is seen a string delimiter as intended in JS
* the identifiers follow JS specification ($, _, letters and numbers)
2023-09-16 18:30:57 +00:00
..
robot correct sci-hub links/ add .ru and remove other 3rd party domains. 2022-09-24 11:03:57 -04:00
unit js_variable_to_python: add tests, handle more JS syntax 2023-09-16 18:30:57 +00:00
__init__.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00