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:
5fc2b41
)
[tests]: fix exponentiation in harmony array-concat tests
author
caitpotter88
<caitpotter88@gmail.com>
Tue, 17 Feb 2015 22:27:59 +0000
(14:27 -0800)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 17 Feb 2015 22:28:12 +0000
(22:28 +0000)
BUG=
LOG=N
R=adamk@chromium.org
Review URL: https://codereview.chromium.org/
921683006
Cr-Commit-Position: refs/heads/master@{#26710}
test/mjsunit/harmony/array-concat.js
patch
|
blob
|
history
diff --git
a/test/mjsunit/harmony/array-concat.js
b/test/mjsunit/harmony/array-concat.js
index
286aefd
..
c1ff92c
100644
(file)
--- a/
test/mjsunit/harmony/array-concat.js
+++ b/
test/mjsunit/harmony/array-concat.js
@@
-245,7
+245,7
@@
function testConcatTypedArray(type, elems, modulo) {
}
(function testConcatSmallTypedArray() {
- var max = [
2^8, 2^16, 2^32
, false, false];
+ var max = [
Math.pow(2, 8), Math.pow(2, 16), Math.pow(2, 32)
, false, false];
[
Uint8Array,
Uint16Array,
@@
-259,7
+259,7
@@
function testConcatTypedArray(type, elems, modulo) {
(function testConcatLargeTypedArray() {
- var max = [
2^8, 2^16, 2^32
, false, false];
+ var max = [
Math.pow(2, 8), Math.pow(2, 16), Math.pow(2, 32)
, false, false];
[
Uint8Array,
Uint16Array,