Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolved result ref order can affect unit test outcome
Test TestTaskParamResolver_ResolveResultRefs performs a diff on a slice of resolved result references. Unfortunately the ordering of this slice is not guaranteed so sometimes the test fails. This PR updates the unit test to check each entry appears as expected in the tt.want slice (confirming also that the lengths of the slices match). Also adds a small helper func to format the resolved result refs for printing in the event that they don't match.
- Loading branch information