projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcae494
)
Destructuring: add more parssing tests.
author
dslomov
<dslomov@chromium.org>
Wed, 29 Apr 2015 13:03:26 +0000
(06:03 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Wed, 29 Apr 2015 13:03:35 +0000
(13:03 +0000)
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
patch
|
blob
|
history
diff --git
a/test/cctest/test-parsing.cc
b/test/cctest/test-parsing.cc
index
0d91292
..
c51aa95
100644
(file)
--- 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};