aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/parserstress/tests/ecma/Math/15.8.2.1.js
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2012-12-11 06:59:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-11 14:50:32 +0100
commit163b0056096a9d7eca2272fe7e969f99ecd1cab8 (patch)
treea2b8a779134991c4f7f69fa4c53019781d0e0b64 /tests/auto/qml/parserstress/tests/ecma/Math/15.8.2.1.js
parent731139b512db04dcb52db4ef3c4c1ad51007e2c7 (diff)
Fix the test suite
We now fail when parsing octal numbers or escape sequences. This is ok according to the EcmaScript 5.1 spec. So remove all usages of these numbers or sequences. In addition delete an invalid test case that can't possibly be parsed correctly. V8 also chokes on it. Change-Id: I889de2810310f38206343d16175f9e31ddb44d30 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'tests/auto/qml/parserstress/tests/ecma/Math/15.8.2.1.js')
-rw-r--r--tests/auto/qml/parserstress/tests/ecma/Math/15.8.2.1.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/auto/qml/parserstress/tests/ecma/Math/15.8.2.1.js b/tests/auto/qml/parserstress/tests/ecma/Math/15.8.2.1.js
index 0412742767..abe1095d40 100644
--- a/tests/auto/qml/parserstress/tests/ecma/Math/15.8.2.1.js
+++ b/tests/auto/qml/parserstress/tests/ecma/Math/15.8.2.1.js
@@ -194,11 +194,6 @@ new TestCase( SECTION,
Math.abs( -0xfff ) );
new TestCase( SECTION,
- "Math.abs( -0777 )",
- 511,
- Math.abs(-0777 ) );
-
-new TestCase( SECTION,
"Math.abs('-1e-1')",
0.1,
Math.abs('-1e-1') );