From 00160ab2a392af7c0aa250c7ddd6d26c10abd473 Mon Sep 17 00:00:00 2001 From: vrana Date: Wed, 18 Jul 2012 18:31:34 -0700 Subject: [PATCH] Remove ambiguous test --- .../differential/parser/DifferentialChangesetParser.php | 3 ++- .../parser/__tests__/DifferentialChangesetParserTestCase.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/differential/parser/DifferentialChangesetParser.php b/src/applications/differential/parser/DifferentialChangesetParser.php index 89b6d1f093..b32803e10c 100644 --- a/src/applications/differential/parser/DifferentialChangesetParser.php +++ b/src/applications/differential/parser/DifferentialChangesetParser.php @@ -157,7 +157,8 @@ final class DifferentialChangesetParser { $offsets_old = $this->originalLeft->computeOffsets(); $offsets_new = $this->originalRight->computeOffsets(); - // Highlight lines that were add on each side or removed on the other side. + // Highlight lines that were added on each side or removed on the other + // side. $highlight_old = array(); $highlight_new = array(); $last = max(last_key($olds), last_key($news)); diff --git a/src/applications/differential/parser/__tests__/DifferentialChangesetParserTestCase.php b/src/applications/differential/parser/__tests__/DifferentialChangesetParserTestCase.php index beb3582e61..5d66386d1d 100644 --- a/src/applications/differential/parser/__tests__/DifferentialChangesetParserTestCase.php +++ b/src/applications/differential/parser/__tests__/DifferentialChangesetParserTestCase.php @@ -31,7 +31,6 @@ final class DifferentialChangesetParserTestCase extends ArcanistPhutilTestCase { "+a\n x\n-c" => array(array(), array()), "+aa\n b\n-c" => array(array(1), array(11)), " b\n-c" => array(array(1), array()), - " x\n-c" => array(array(1), array()), "+a\n b\n c" => array(array(), array(13)), "+a\n x\n c" => array(array(), array(13)), );