Fixed EarlyError naming. Accepting and ignoring at-bestPractice.

Added .hgignore
This commit is contained in:
Mark Miller 2011-09-25 08:40:10 -07:00
parent aa67d8e5ac
commit ede572eced
2 changed files with 15 additions and 2 deletions

4
.hgignore Normal file
View File

@ -0,0 +1,4 @@
\.DS_Store$
\.d8_history$
~$
\.pyc$

View File

@ -56,7 +56,7 @@
*/ */
global.GlobalScopeTests = global.GlobalScopeTests || {}; global.GlobalScopeTests = global.GlobalScopeTests || {};
global.EarlyErrorRePat = 'EarlyErrorRePat'; global.EarlyErrorRePat = 'EarlyErrorRePat';
global.NotEarlyErrorString = 'NotEarlyErrorString'; global.NotEarlyErrorString = 'NotEarlyError';
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
@ -372,7 +372,16 @@
// If we see any properties other than these after normalization, // If we see any properties other than these after normalization,
// we signal an error. // we signal an error.
var KNOWN_PROPS = ['path', 'description', var KNOWN_PROPS = ['path', 'description',
'noStrict', 'onlyStrict', 'negative']; 'noStrict', 'onlyStrict', 'negative',
// Not yet supported ones that should not be
// accepted until they are supported are
// commented aout below. Not supported ones that
// can safely be present and ignored are enabled
// below.
// 'generator', 'verbatim',
'noHelpers', 'bestPractice'
];
/** /**
* Turns the (assumed) normalized test record into its string form * Turns the (assumed) normalized test record into its string form