Fix typos in built-ins/TypedArray/prototype/copyWithin

This commit is contained in:
André Bargull 2017-02-22 18:11:25 +01:00
parent 76320ad18d
commit 878d382eb9
2 changed files with 6 additions and 6 deletions

View File

@ -41,7 +41,7 @@ testWithTypedArrayConstructors(function(TA) {
compareArray( compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(0, 1, -Infinity), new TA([1, 2, 3, 4, 5]).copyWithin(0, 1, -Infinity),
[1, 2, 3, 4, 5] [1, 2, 3, 4, 5]
) ),
'[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( compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(0, -2, -Infinity), new TA([1, 2, 3, 4, 5]).copyWithin(0, -2, -Infinity),
[1, 2, 3, 4, 5] [1, 2, 3, 4, 5]
) ),
'[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( compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(0, -9, -Infinity), new TA([1, 2, 3, 4, 5]).copyWithin(0, -9, -Infinity),
[1, 2, 3, 4, 5] [1, 2, 3, 4, 5]
) ),
'[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( compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(-3, -2, -Infinity), new TA([1, 2, 3, 4, 5]).copyWithin(-3, -2, -Infinity),
[1, 2, 3, 4, 5] [1, 2, 3, 4, 5]
) ),
'[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( compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(-7, -8, -Infinity), new TA([1, 2, 3, 4, 5]).copyWithin(-7, -8, -Infinity),
[1, 2, 3, 4, 5] [1, 2, 3, 4, 5]
) ),
'[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]'
); );
}); });

View File

@ -38,7 +38,7 @@ testWithTypedArrayConstructors(function(TA) {
assert( assert(
compareArray( compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(0, -Infinity), 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]' '[1, 2, 3, 4, 5]).copyWithin(0, -Infinity) -> [1, 2, 3, 4, 5]'
); );