Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return 0/1 explicitly as the client expects it
t/ui/10-tests_overview.t was failing under perl 5.40: # Subtest: job dependencies displayed on 'Test result overview' page ok 1 - job href is shown correctly not ok 2 - dependency is shown correctly # Failed test 'dependency is shown correctly' # at t/ui/10-tests_overview.t line 594. # got: '1 parallel parent # dependency failed' # expected: '1 parallel parent # dependency passed' In newer perl versions booleans are preserved, and when Mojolicious sends JSON to the client, it will return it as true. To support both older and newer versions, we explicitly return 0 or 1.
- Loading branch information