From cec53692d17f21374fbd2df1fcef6f60adf7dd96 Mon Sep 17 00:00:00 2001 From: dslomov Date: Wed, 29 Apr 2015 06:03:26 -0700 Subject: [PATCH] Destructuring: add more parssing tests. R=arv@chromium.org BUG=v8:811 LOG=N Review URL: https://codereview.chromium.org/1112073002 Cr-Commit-Position: refs/heads/master@{#28131} --- test/cctest/test-parsing.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc index 0d91292..c51aa95 100644 --- a/test/cctest/test-parsing.cc +++ b/test/cctest/test-parsing.cc @@ -6369,7 +6369,9 @@ TEST(DestructuringPositiveTests) { "[{x:x, y:y}, [a,b,c]]", "[a,,b]", "{42 : x}", + "{42e-2 : x}", "{'hi' : x}", + "{var: x}", NULL}; // clang-format on static const ParserFlag always_flags[] = {kAllowHarmonyDestructuring}; -- 2.7.4