Move _.support tests to be in alphebetic API order.

This commit is contained in:
jdalton
2015-02-08 15:43:39 -08:00
parent 34eec362e5
commit 0b922b1ed1

View File

@@ -12278,41 +12278,6 @@
/*--------------------------------------------------------------------------*/
QUnit.module('lodash.support');
(function() {
test('should contain properties with boolean values', 1, function() {
ok(_.every(_.values(_.support), function(value) {
return value === true || value === false;
}));
});
test('should not contain minified properties (test production builds)', 1, function() {
var props = [
'argsTag',
'argsObject',
'dom',
'enumErrorProps',
'enumPrototypes',
'fastBind',
'funcDecomp',
'funcNames',
'hostObject',
'nodeTag',
'nonEnumArgs',
'nonEnumShadows',
'nonEnumStrings',
'ownLast',
'spliceObjects',
'unindexedChars'
];
ok(_.isEmpty(_.difference(_.keys(_.support), props)));
});
}());
/*--------------------------------------------------------------------------*/
QUnit.module('lodash.startsWith');
(function() {
@@ -12390,6 +12355,41 @@
/*--------------------------------------------------------------------------*/
QUnit.module('lodash.support');
(function() {
test('should contain properties with boolean values', 1, function() {
ok(_.every(_.values(_.support), function(value) {
return value === true || value === false;
}));
});
test('should not contain minified properties (test production builds)', 1, function() {
var props = [
'argsTag',
'argsObject',
'dom',
'enumErrorProps',
'enumPrototypes',
'fastBind',
'funcDecomp',
'funcNames',
'hostObject',
'nodeTag',
'nonEnumArgs',
'nonEnumShadows',
'nonEnumStrings',
'ownLast',
'spliceObjects',
'unindexedChars'
];
ok(_.isEmpty(_.difference(_.keys(_.support), props)));
});
}());
/*--------------------------------------------------------------------------*/
QUnit.module('lodash.tap');
(function() {