Skip to content

Commit f758c35

Browse files
committed
add isPlainObject test case for HTML <div>
- which should fail ;)
1 parent 98377fc commit f758c35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/jasmine/tests/is_plain_object_test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ describe('isPlainObject', function() {
3131
new Array(10),
3232
new Date(),
3333
new RegExp('foo'),
34-
new String('string')
34+
new String('string'),
35+
document.createElement('div')
3536
];
3637

3738
shouldPass.forEach(function(obj) {

0 commit comments

Comments
 (0)