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:
Akos Kiss
2015-11-28 21:42:27 +01:00
parent 133fc6adfd
commit ab68d093e8
27 changed files with 282 additions and 282 deletions
+21 -21
View File
@@ -28,58 +28,58 @@ t = /\u0000/.exec("\u0000");
assert (t == "\u0000");
try {
eval("/" + String.fromCharCode("0x0000") + "/");
eval("/" + String.fromCharCode("0x0000") + "/");
} catch (e) {
assert (false);
assert (false);
}
try {
eval("var x = 5\n\n/foo/");
assert(false);
eval("var x = 5\n\n/foo/");
assert(false);
} catch (e) {
assert(e instanceof SyntaxError);
assert(e instanceof SyntaxError);
}
try {
eval("var x = 5;\n\n/foo/");
eval("var x = 5;\n\n/foo/");
} catch (e) {
assert(false);
assert(false);
}
try {
eval("for (;false;/abc/.exec(\"abc\")) {5}");
eval("for (;false;/abc/.exec(\"abc\")) {5}");
} catch (e) {
assert(false);
assert(false);
}
try {
eval("var a = [] /foo/");
assert(false);
eval("var a = [] /foo/");
assert(false);
} catch (e) {
assert(e instanceof SyntaxError);
assert(e instanceof SyntaxError);
}
try {
eval("/");
assert(false);
eval("/");
assert(false);
} catch (e) {
assert(e instanceof SyntaxError);
assert(e instanceof SyntaxError);
}
try {
eval("var x = /aaa/");
eval("var x = /aaa/");
} catch (e) {
assert (false);
assert (false);
}
try {
eval("{}/a/g");
eval("{}/a/g");
} catch (e) {
assert (false);
assert (false);
}
try {
eval("var a, g; +{}/a/g");
eval("var a, g; +{}/a/g");
} catch (e) {
assert (false);
assert (false);
}