From a88bd69e30b4abdab30ef255e05bc2f1316d8cba Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Tue, 6 Jan 2015 10:39:56 +1100 Subject: [PATCH] justify disabled traceur tests --- test/traceur.js | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/test/traceur.js b/test/traceur.js index cabd24ff8b..a52e2deaad 100644 --- a/test/traceur.js +++ b/test/traceur.js @@ -23,30 +23,27 @@ require("./_transformation-helper")({ "FreeVariableChecker", "TypeAssertions", "MemberVariables", - "Types", - - // REENABLE THESE - "Destructuring", - "Syntax", - "StringExtras", - "Symbol", - "Yield", - "Modules", - "Spread", - "Scope", - "GeneratorComprehension" + "Types" ], ignoreTasks: [ - "Strict", - // core.js doesn't support due to a perf hit and having to override a lot // of native methods "Symbol/GetOwnPropertySymbols", - // Traceur doesn't name methods and has an incorrect test asserting that + // traceur doesn't name methods and has an incorrect test asserting that // they have no names - "PropertyMethodAssignment/PropertyMethodAssignment" + "PropertyMethodAssignment/PropertyMethodAssignment", + + // 6to5 assumes that all code transformed is a module + "Strict", + "Syntax/UseStrictEscapeSequence", + "Syntax/UseStrictLineContinuation", + + // the spec for these doesn't define syntax (as far as i could tell) + // these both fail because of filter between blocks + "ArrayComprehension/Simple", + "GeneratorComprehension/Simple" ] }, { optional: ["typeofSymbol"],