mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 18:40: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)
|
return instances(setup)
|
||||||
.map(function([k, o]){
|
.map(function([k, o]){
|
||||||
// NOTE: not all callables are instances of Function...
|
// NOTE: not all callables are instances of Function...
|
||||||
//assert(typeof(o) == 'function'
|
assert(typeof(o) == 'function'
|
||||||
// && o instanceof Function, 'instanceof Function')
|
&& o instanceof Function, 'instanceof Function')
|
||||||
return typeof(o) == 'function'
|
return typeof(o) == 'function'
|
||||||
&& assert(o(), 'call', k) }) },
|
&& assert(o(), 'call', k) }) },
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user