more tests...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-05-30 00:21:13 +03:00
parent a1ed6a5b84
commit 43c59438eb

View File

@ -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) }) },
}