From 680999fe3f556c607f9d1f6dd5de8770e20a79de Mon Sep 17 00:00:00 2001 From: Yui T Date: Tue, 11 Nov 2014 11:30:16 -0800 Subject: [PATCH] Move short-hand property tests to conformace folder --- .../objectLiteralShorthandProperties.ts | 19 ------------------- .../objectLiteralShorthandProperties2.ts | 18 ------------------ .../objectLiteralShorthandProperties3.ts | 13 ------------- .../objectLiteralShorthandProperties4.ts | 4 ---- 4 files changed, 54 deletions(-) delete mode 100644 tests/cases/compiler/objectLiteralShorthandProperties.ts delete mode 100644 tests/cases/compiler/objectLiteralShorthandProperties2.ts delete mode 100644 tests/cases/compiler/objectLiteralShorthandProperties3.ts delete mode 100644 tests/cases/compiler/objectLiteralShorthandProperties4.ts diff --git a/tests/cases/compiler/objectLiteralShorthandProperties.ts b/tests/cases/compiler/objectLiteralShorthandProperties.ts deleted file mode 100644 index 95b380308e9..00000000000 --- a/tests/cases/compiler/objectLiteralShorthandProperties.ts +++ /dev/null @@ -1,19 +0,0 @@ -var a, b, c; - -var x1 = { - a -}; - -var x2 = { - a, -} - -var x3 = { - a: 0, - b, - c, - d() { }, - x3, - parent: x3 -}; - diff --git a/tests/cases/compiler/objectLiteralShorthandProperties2.ts b/tests/cases/compiler/objectLiteralShorthandProperties2.ts deleted file mode 100644 index 38081e7d691..00000000000 --- a/tests/cases/compiler/objectLiteralShorthandProperties2.ts +++ /dev/null @@ -1,18 +0,0 @@ -// errors -var y = { - "stringLiteral", - 42, - get e, - set f, - this, - super, - var, - class, - typeof -}; - -var x = { - a.b, - a["ss"], - a[1], -}; \ No newline at end of file diff --git a/tests/cases/compiler/objectLiteralShorthandProperties3.ts b/tests/cases/compiler/objectLiteralShorthandProperties3.ts deleted file mode 100644 index 005885bb901..00000000000 --- a/tests/cases/compiler/objectLiteralShorthandProperties3.ts +++ /dev/null @@ -1,13 +0,0 @@ -// module export - -module m { - export var x; -} - -module m { - var z = x; - var y = { - a: x, - x - }; -} diff --git a/tests/cases/compiler/objectLiteralShorthandProperties4.ts b/tests/cases/compiler/objectLiteralShorthandProperties4.ts deleted file mode 100644 index 1f44dc18ae8..00000000000 --- a/tests/cases/compiler/objectLiteralShorthandProperties4.ts +++ /dev/null @@ -1,4 +0,0 @@ -var x = { - x, // OK - undefinedVariable // Error -}