Page MenuHomePhabricator

Don't show a blank line if there is no user data
ClosedPublic

Authored by alexmv on Sep 20 2017, 9:35 PM.
Tags
None
Referenced Files
F13193627: D18632.diff
Sun, May 12, 4:05 PM
F13174067: D18632.id.diff
Tue, May 7, 9:54 PM
F13173698: D18632.id44732.diff
Tue, May 7, 8:41 PM
Unknown Object (File)
Sun, May 5, 8:24 AM
Unknown Object (File)
Mon, Apr 29, 3:19 PM
Unknown Object (File)
Fri, Apr 26, 5:48 PM
Unknown Object (File)
Wed, Apr 24, 11:08 PM
Unknown Object (File)
Fri, Apr 19, 6:50 PM
Subscribers

Details

Summary

SKIP lines, for instance, often have no UserData; there is no
reason to display a content-less blank line.

Test Plan

arc unit

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Prefer a strlen() test over a plain test, so values like "0", "0.0", etc., are printed faithfully.

This revision now requires changes to proceed.Sep 20 2017, 9:43 PM

Swap to a strlen, instead of using truthiness

This revision is now accepted and ready to land.Sep 21 2017, 12:44 AM
This revision was automatically updated to reflect the committed changes.