Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Commit 82c1111

Browse files
committed
fixup! fixup! Updates from review feedback
1 parent 1d45818 commit 82c1111

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

objectivec/Tests/DiffMatchPatchTest.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -758,11 +758,11 @@ - (void)test_diff_deltaTest {
758758
XCTAssertEqualObjects(delta, @"=2\t+%F0%9F%98%83\t=4", @"Delta should match the expected string");
759759

760760
diffs = [dmp diff_mainOfOldString:@"☺️🖖🏿" andNewString:@"☺️😃🖖🏿"];
761-
patches = [dmp patch_makeFromDiffs:diffs];
762-
expectedResult = [dmp patch_apply:patches toString:@"☺️🖖🏿"];
761+
NSArray *patches = [dmp patch_makeFromDiffs:diffs];
762+
NSArray *patchResult = [dmp patch_apply:patches toString:@"☺️🖖🏿"];
763763

764-
expectedString = [result firstObject];
765-
XCTAssertEqualObjects(edited, expectedString, @"Output String should match the Edited one!");
764+
expectedString = [patchResult firstObject];
765+
XCTAssertEqualObjects(@"☺️😃🖖🏿", expectedString, @"Output String should match the Edited one!");
766766

767767
// Verify pool of unchanged characters.
768768
diffs = [NSMutableArray arrayWithObject:

0 commit comments

Comments
 (0)