mirror of https://github.com/tc39/test262.git
Fix typos in built-ins/TypedArray/prototype/copyWithin
This commit is contained in:
parent
76320ad18d
commit
878d382eb9
|
@ -41,7 +41,7 @@ testWithTypedArrayConstructors(function(TA) {
|
|||
compareArray(
|
||||
new TA([1, 2, 3, 4, 5]).copyWithin(0, 1, -Infinity),
|
||||
[1, 2, 3, 4, 5]
|
||||
)
|
||||
),
|
||||
'[1, 2, 3, 4, 5].copyWithin(0, 1, -Infinity) -> [1, 2, 3, 4, 5]'
|
||||
);
|
||||
|
||||
|
@ -57,7 +57,7 @@ testWithTypedArrayConstructors(function(TA) {
|
|||
compareArray(
|
||||
new TA([1, 2, 3, 4, 5]).copyWithin(0, -2, -Infinity),
|
||||
[1, 2, 3, 4, 5]
|
||||
)
|
||||
),
|
||||
'[1, 2, 3, 4, 5].copyWithin(0, -2, -Infinity) -> [1, 2, 3, 4, 5]'
|
||||
);
|
||||
|
||||
|
@ -73,7 +73,7 @@ testWithTypedArrayConstructors(function(TA) {
|
|||
compareArray(
|
||||
new TA([1, 2, 3, 4, 5]).copyWithin(0, -9, -Infinity),
|
||||
[1, 2, 3, 4, 5]
|
||||
)
|
||||
),
|
||||
'[1, 2, 3, 4, 5].copyWithin(0, -9, -Infinity) -> [1, 2, 3, 4, 5]'
|
||||
);
|
||||
|
||||
|
@ -89,7 +89,7 @@ testWithTypedArrayConstructors(function(TA) {
|
|||
compareArray(
|
||||
new TA([1, 2, 3, 4, 5]).copyWithin(-3, -2, -Infinity),
|
||||
[1, 2, 3, 4, 5]
|
||||
)
|
||||
),
|
||||
'[1, 2, 3, 4, 5].copyWithin(-3, -2, -Infinity) -> [1, 2, 3, 4, 5]'
|
||||
);
|
||||
|
||||
|
@ -105,7 +105,7 @@ testWithTypedArrayConstructors(function(TA) {
|
|||
compareArray(
|
||||
new TA([1, 2, 3, 4, 5]).copyWithin(-7, -8, -Infinity),
|
||||
[1, 2, 3, 4, 5]
|
||||
)
|
||||
),
|
||||
'[1, 2, 3, 4, 5].copyWithin(-7, -8, -Infinity) -> [1, 2, 3, 4, 5]'
|
||||
);
|
||||
});
|
||||
|
|
|
@ -38,7 +38,7 @@ testWithTypedArrayConstructors(function(TA) {
|
|||
assert(
|
||||
compareArray(
|
||||
new TA([1, 2, 3, 4, 5]).copyWithin(0, -Infinity),
|
||||
[0, 1, 2, 3]
|
||||
[1, 2, 3, 4, 5]
|
||||
),
|
||||
'[1, 2, 3, 4, 5]).copyWithin(0, -Infinity) -> [1, 2, 3, 4, 5]'
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue