]> khamidou — GitHub mirrors - arcanist.git/commit
Add test coverage to the base85 implementation
authorepriestley <git@epriestley.com>
Mon, 13 Aug 2012 02:20:46 +0000 (19:20 -0700)
committerepriestley <git@epriestley.com>
Mon, 13 Aug 2012 02:20:46 +0000 (19:20 -0700)
commit08b29ad23fe12bcc2157a18e6af67dbb8040bd8b
treea42bd1e39e80f7ae2fcb2618930f50a997793729
parentbe3ce781bb3d44e0e9b4b73e0c6be89e2e120052
Add test coverage to the base85 implementation

Summary: See T1635. I'm going to make an effort to rewrite this in a way that's safe in 32-bit PHP, i.e. without bcmath. Add test coverage to limit the chance I screw it up.

Test Plan: Ran unit tests.

Reviewers: btrahan, vrana

Reviewed By: btrahan

CC: aran
Maniphest Tasks: T1635

Differential Revision: https://secure.phabricator.com/D3249
src/parser/ArcanistBundle.php
src/parser/__tests__/ArcanistBundleTestCase.php
src/parser/__tests__/base85/expect1.txt [new file with mode: 0644]
src/parser/__tests__/base85/expect2.txt [new file with mode: 0644]