[njs] Uncommented a successful test of Object.create([1,2]).length.
Valentin Bartenev
vbart at nginx.com
Tue May 21 18:25:28 UTC 2019
details: https://hg.nginx.org/njs/rev/260d9d4f29ee
branches:
changeset: 977:260d9d4f29ee
user: Valentin Bartenev <vbart at nginx.com>
date: Tue May 21 21:15:21 2019 +0300
description:
Uncommented a successful test of Object.create([1,2]).length.
It's actually passing after f5bdddca3252.
diffstat:
njs/test/njs_unit_test.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 96dc80e2ea1b -r 260d9d4f29ee njs/test/njs_unit_test.c
--- a/njs/test/njs_unit_test.c Tue May 21 20:45:42 2019 +0300
+++ b/njs/test/njs_unit_test.c Tue May 21 21:15:21 2019 +0300
@@ -3399,10 +3399,8 @@ static njs_unit_test_t njs_test[] =
{ nxt_string("\n[\n1\n,\n2]\n[\n0]"),
nxt_string("1") },
-#if 0
{ nxt_string("Object.create([1,2]).length"),
nxt_string("2") },
-#endif
{ nxt_string("Object.create(['α','β'])[1]"),
nxt_string("β") },
More information about the nginx-devel
mailing list