Commit f678790d authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Better diagnostic: tell what events were expected

parent 1ec64adb
......@@ -81,7 +81,10 @@ sub standaloneJob {
ok(Bio::EnsEMBL::Hive::Scripts::StandaloneJob::standaloneJob($module_or_file, $input_id, $flags, undef, $flags->{language}), 'job completed');
}, sprintf('standaloneJob("%s", %s, (...), %s)', $module_or_file, stringify($param_hash), stringify($flags)));
ok(!scalar(@$events_to_test), 'no untriggered events') if $expected_events;
if ($expected_events) {
ok(!scalar(@$events_to_test), 'no untriggered events');
diag("Did not receive: " . stringify($events_to_test)) if scalar(@$events_to_test);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment