Cleanup in sync_ui_util_unittest.cc

Return the expected action from GetDistinctCase instead of having a
separate function. This makes it much easier to see the correlation
between setup and expected outcome.

Bug: 911153
Change-Id: Ia87c5718e5c8cf828c427a3c87404682779770ab
Reviewed-on: https://chromium-review.googlesource.com/c/1474767
Reviewed-by: Mohamed Amir Yosef <mamir@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633118}
1 file changed