You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertEquals("diff_charsToLines: More than 65536.",chars,diffs[0].text);
181
192
}
182
193
183
194
publicvoiddiff_cleanupMergeTest(){
@@ -692,9 +703,9 @@ public void diff_mainTest() {
692
703
stringa="`Twas brillig, and the slithy toves\nDid gyre and gimble in the wabe:\nAll mimsy were the borogoves,\nAnd the mome raths outgrabe.\n";
693
704
stringb="I am the very model of a modern major general,\nI've information vegetable, animal, and mineral,\nI know the kings of England, and I quote the fights historical,\nFrom Marathon to Waterloo, in order categorical.\n";
694
705
// Increase the text lengths by 1024 times to ensure a timeout.
Expect.equals(chars, diffs[0].text, 'diff_charsToLines: More than 65536.');
227
238
}
228
239
229
240
voidtestDiffCleanupMerge() {
@@ -532,7 +543,7 @@ void testDiffMain() {
532
543
String a ='`Twas brillig, and the slithy toves\nDid gyre and gimble in the wabe:\nAll mimsy were the borogoves,\nAnd the mome raths outgrabe.\n';
533
544
String b ='I am the very model of a modern major general,\nI\'ve information vegetable, animal, and mineral,\nI know the kings of England, and I quote the fights historical,\nFrom Marathon to Waterloo, in order categorical.\n';
534
545
// Increase the text lengths by 1024 times to ensure a timeout.
assertEquals("diff_charsToLines: More than 65536.", chars, diffs.getFirst().text);
184
195
}
185
196
186
197
publicstaticvoidtestDiffCleanupMerge() {
@@ -500,9 +511,9 @@ public static void testDiffMain() {
500
511
Stringa = "`Twas brillig, and the slithy toves\nDid gyre and gimble in the wabe:\nAll mimsy were the borogoves,\nAnd the mome raths outgrabe.\n";
501
512
Stringb = "I am the very model of a modern major general,\nI've information vegetable, animal, and mineral,\nI know the kings of England, and I quote the fights historical,\nFrom Marathon to Waterloo, in order categorical.\n";
502
513
// Increase the text lengths by 1024 times to ensure a timeout.
Copy file name to clipboardExpand all lines: javascript/tests/diff_match_patch_test.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -570,7 +570,7 @@ function testDiffMain() {
570
570
vara='`Twas brillig, and the slithy toves\nDid gyre and gimble in the wabe:\nAll mimsy were the borogoves,\nAnd the mome raths outgrabe.\n';
571
571
varb='I am the very model of a modern major general,\nI\'ve information vegetable, animal, and mineral,\nI know the kings of England, and I quote the fights historical,\nFrom Marathon to Waterloo, in order categorical.\n';
572
572
// Increase the text lengths by 1024 times to ensure a timeout.
0 commit comments