Cleanup test files.

Former-commit-id: 3b138bc74c2f4c2c6d374893c0f90a8422a7248b
This commit is contained in:
John-David Dalton
2012-09-09 11:55:24 -07:00
parent c30bcdd515
commit 78471b4595
3 changed files with 6 additions and 9 deletions

View File

@@ -39,8 +39,8 @@
*
* @param {Array|String} source The array of command-line arguments or the
* source to minify.
* @param {Object} options The options object containing `onComplete`, `silent`,
* and `workingName`.
* @param {Object} options The options object containing `onComplete`,
* `silent`, and `workingName`.
*/
function minify(source, options) {
options || (options = {});
@@ -72,8 +72,8 @@
* @private
* @constructor
* @param {String} source The source to minify.
* @param {Object} options The options object containing `onComplete`, `silent`,
* and `workingName`.
* @param {Object} options The options object containing `onComplete`,
* `silent`, and `workingName`.
*/
function Minify(source, options) {
source || (source = '');

View File

@@ -32,9 +32,6 @@
Object.keys = Object._keys;
delete Object._keys;
// set to test `_.noConflict`
_ = {};
// load Lo-Dash again to overwrite the existing `_` value
document.write('<script src="../' + QUnit.config.lodashFilename + '.js"><\/script>');

View File

@@ -523,7 +523,7 @@
var start = _.after(2, _.once(QUnit.start));
asyncTest(strictMode + ' should ' + (index ? 'error': 'silently fail') + ' attempting to overwrite read-only properties', function() {
var commands = ['--silent', 'include=bindAll,defaults,extend'];
var commands = ['-s', 'include=bindAll,defaults,extend'];
if (index) {
commands.push('strict');
}
@@ -557,7 +557,7 @@
var start = _.once(QUnit.start);
asyncTest('should not have deep clone', function() {
build(['--silent', 'underscore'], function(filepath, source) {
build(['-s', 'underscore'], function(filepath, source) {
vm.runInContext(source, context);
var array = [{ 'a': 1 }],