Page MenuHomePhabricator

tests: move verification closer to setup in test-copies-chain-merge.t
ClosedPublic

Authored by martinvonz on Apr 2 2020, 4:59 PM.

Details

Summary

I found this test case really hard to read because it requires
scrolling back and forth between the setup and the verification. This
patch moves them closer together. There was also duplicated
descriptions for each test case (duplicated between setup and
verification). They had already become out of sync. I picked the
description from the verification, partly so the differences would be
highlighted in this patch.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.