]> git.kaiwu.me - quickjs.git/commit
Improve tests
authorCharlie Gordon <github@chqrlie.org>
Sat, 17 Feb 2024 20:54:19 +0000 (21:54 +0100)
committerCharlie Gordon <github@chqrlie.org>
Sat, 17 Feb 2024 20:54:19 +0000 (21:54 +0100)
commit74bdb4967ca67c385381d95d9b38f1d1f07a08a1
tree0d18533aa552dbce2a0261fb7e600ad6c71933e2
parent85fb2caeae86bc7962ff8740f24a3f462e8b3f53
Improve tests

- split test_bigfloat.js from test_bignum.js
- make test_date() compatible with node
- document Date constructor string argument format:
  should add test cases for invalid strings
- test_argument_scope(): only test this syntax error in strict mode:
  `var f = function(a = eval("var arguments")) {};`
Makefile
tests/test_bigfloat.js [new file with mode: 0644]
tests/test_bignum.js
tests/test_builtin.js
tests/test_language.js