Page MenuHomePhabricator

Get line count before truncating Paste snippets
ClosedPublic

Authored by faulconbridge on Mar 1 2017, 9:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 9:53 AM
Unknown Object (File)
Fri, May 3, 3:14 PM
Unknown Object (File)
Mon, Apr 29, 5:39 PM
Unknown Object (File)
Mon, Apr 29, 5:39 PM
Unknown Object (File)
Mon, Apr 29, 5:38 PM
Unknown Object (File)
Sat, Apr 27, 5:10 PM
Unknown Object (File)
Sat, Apr 27, 3:44 AM
Unknown Object (File)
Thu, Apr 25, 6:23 PM
Subscribers

Details

Summary

Fixes T12338. Resolves an issue where long pastes would be truncated before getting a line count, resulting in an inaccurate line count being returned.

Test Plan

Made a large paste, verified that it displayed the correct number of lines.

Diff Detail

Repository
rP Phabricator
Branch
T12338
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15838
Build 20953: Run Core Tests
Build 20952: arc lint + arc unit