Add math operator method tests for symbols.

This commit is contained in:
John-David Dalton
2016-04-21 00:31:39 -07:00
parent fc48518f2b
commit 2ea08ccd36

View File

@@ -20840,6 +20840,18 @@
});
});
QUnit.test('`_.' + methodName + '` should convert symbols to `NaN`', function(assert) {
assert.expect(2);
if (Symbol) {
assert.deepEqual(func(0, symbol), NaN);
assert.deepEqual(func(symbol, 0), NaN);
}
else {
skipAssert(assert, 2);
}
});
QUnit.test('`_.' + methodName + '` should return an unwrapped value when implicitly chaining', function(assert) {
assert.expect(1);