Wrap fp.getOr test in an IIFE.

This commit is contained in:
John-David Dalton
2016-03-13 15:30:32 -07:00
parent 4d185ae7b5
commit f3279b7ee1

View File

@@ -1105,12 +1105,14 @@
QUnit.module('fp.getOr'); QUnit.module('fp.getOr');
QUnit.test('should accept a `defaultValue` param', function(assert) { (function() {
assert.expect(1); QUnit.test('should accept a `defaultValue` param', function(assert) {
assert.expect(1);
var actual = fp.getOr('default')('path')({}); var actual = fp.getOr('default')('path')({});
assert.strictEqual(actual, 'default'); assert.strictEqual(actual, 'default');
}); });
}());
/*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/