rm for ... in
This commit is contained in:
4
test.ce
4
test.ce
@@ -289,11 +289,11 @@ function run_tests(package_name, specific_test) {
|
||||
if (is_function(test_mod)) {
|
||||
tests.push({name: 'main', fn: test_mod})
|
||||
} else if (is_object(test_mod)) {
|
||||
for (var k in test_mod) {
|
||||
arrfor(array(test_mod), function(k) {
|
||||
if (is_function(test_mod[k])) {
|
||||
tests.push({name: k, fn: test_mod[k]})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
if (length(tests) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user