This is an archive of the discontinued Mercurial Phabricator instance.

test-devel-warnings: make the test compatible with chg
ClosedPublic

Authored by singhsrb on Oct 2 2017, 10:09 PM.

Details

Summary

The test fails when run with the "--chg" option. Therefore, this
commit makes it compatible with chg.

Test Plan

Ran the test "test-devel-warnings.t' with and without the "--chg"
option

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.

Event Timeline

singhsrb created this revision.Oct 2 2017, 10:09 PM
singhsrb edited the test plan for this revision. (Show Details)Oct 2 2017, 10:10 PM
singhsrb added inline comments.
tests/test-devel-warnings.t
102

Fixed this to be consistent with the rest of the test

quark added a subscriber: quark.Oct 2 2017, 11:27 PM
quark added inline comments.
tests/test-devel-warnings.t
119–150

Maybe use * so line numbers change won't cause the test to fail.

singhsrb added inline comments.Oct 4 2017, 1:13 PM
tests/test-devel-warnings.t
119–150

Yes, i missed that! I will fix it.

singhsrb updated this revision to Diff 2425.Oct 4 2017, 1:40 PM
singhsrb updated this revision to Diff 2426.Oct 4 2017, 1:43 PM
krbullock accepted this revision.Oct 4 2017, 2:55 PM
krbullock added a subscriber: krbullock.

Queued, thanks.

This revision is now accepted and ready to land.Oct 4 2017, 2:55 PM
This revision was automatically updated to reflect the committed changes.