assertions in 'for indexed_data in actual_results:' never ran, because
'actual_results' was empty.
This commit creates two test failures, that are caused by an already
existing bug in the ctags indexer that I will fix later.
Differential D876
Make tests actually run. vlorentz on Dec 20 2018, 7:55 PM. Authored by
Details
assertions in 'for indexed_data in actual_results:' never ran, because This commit creates two test failures, that are caused by an already
Diff Detail
Event TimelineComment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/164/ Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/165/ Comment Actions The control flow of the assert_results_ok function is really hard to follow. It'd be nicer to have two functions, one for the current format and another for the legacy format (assert_legacy_results_ok). This would also have the side effect of properly testing whether the results are in the expected (old or new) format. WDYT?
Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/171/
Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/173/ Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/175/ |