This is an archive of the discontinued Mercurial Phabricator instance.

tests: document behavior of indent() with empty first line
ClosedPublic

Authored by martinvonz on Nov 15 2019, 1:18 PM.

Details

Summary

indent() is documented to indent all non-empty lines, but it still
indents the first line even if it's empty. Let's have tests for that.

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

martinvonz created this revision.Nov 15 2019, 1:18 PM
pulkit accepted this revision.Nov 15 2019, 6:23 PM
This revision is now accepted and ready to land.Nov 15 2019, 6:23 PM