Whitespace cleanup: tab removal in tests directory
Also changed space-based indentation in touched files if they used 4 spaces for indentation (instead of the most-often-used 2). Also added new line to end of touched files if they did not end that way. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -45,10 +45,10 @@ assert(a.length === 4294967295);
|
||||
assert(a[4294967294] === "x");
|
||||
|
||||
try {
|
||||
a.push("y");
|
||||
assert(false);
|
||||
a.push("y");
|
||||
assert(false);
|
||||
} catch (e) {
|
||||
assert (e instanceof RangeError);
|
||||
assert (e instanceof RangeError);
|
||||
}
|
||||
assert(a.length === 4294967295)
|
||||
|
||||
@@ -59,17 +59,17 @@ assert(o.length === 4294967295);
|
||||
assert(o[4294967294] === "x");
|
||||
|
||||
try {
|
||||
assert(o.push("y") === 4294967296);
|
||||
assert(o.push("y") === 4294967296);
|
||||
} catch (e) {
|
||||
assert(false);
|
||||
assert(false);
|
||||
}
|
||||
assert(o.length === 4294967296);
|
||||
assert(o[4294967295] === "y");
|
||||
|
||||
try {
|
||||
assert(o.push("z") === 1);
|
||||
assert(o.push("z") === 1);
|
||||
} catch (e) {
|
||||
assert(false);
|
||||
assert(false);
|
||||
}
|
||||
assert(o.length === 1);
|
||||
assert(o[0] === "z");
|
||||
|
||||
Reference in New Issue
Block a user