mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 10:30:08 +00:00
more tests...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a1ed6a5b84
commit
43c59438eb
4
test.js
4
test.js
@ -196,8 +196,8 @@ var tests = {
|
||||
return instances(setup)
|
||||
.map(function([k, o]){
|
||||
// NOTE: not all callables are instances of Function...
|
||||
//assert(typeof(o) == 'function'
|
||||
// && o instanceof Function, 'instanceof Function')
|
||||
assert(typeof(o) == 'function'
|
||||
&& o instanceof Function, 'instanceof Function')
|
||||
return typeof(o) == 'function'
|
||||
&& assert(o(), 'call', k) }) },
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user