This is an archive of the discontinued Mercurial Phabricator instance.

tests: add test for rebase template showing wrong behavior
ClosedPublic

Authored by pulkit on Nov 20 2017, 2:03 PM.

Details

Summary

The output for template "{nodechanges % ':{value}'}" does not contain the
output for value.

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

pulkit created this revision.Nov 20 2017, 2:03 PM
durin42 requested changes to this revision.Nov 20 2017, 6:27 PM
durin42 added a subscriber: durin42.
durin42 added inline comments.
tests/test-rebase-templates.t
56

Can you comment what the correct behavior here should be? Yuya had a clever trick of (!true) or something to put the expected output inline with the actual output...

This revision now requires changes to proceed.Nov 20 2017, 6:27 PM
pulkit updated this revision to Diff 3704.Nov 20 2017, 8:04 PM
pulkit updated this revision to Diff 3724.Nov 21 2017, 11:54 AM
yuja accepted this revision.Nov 22 2017, 8:18 AM
This revision was automatically updated to reflect the committed changes.