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
@@ -1319,16 +1355,17 @@ final class ParagraphTextStorageTests: XCTestCase {
1319
1355
("test for initialization", testParagraphTextStorage_Initialization),
1320
1356
1321
1357
// insertion tests
1322
-
("test for insering following paragraphs", testParagraphTextStorage_InsertFirstParagraphs),
1323
-
("test for insering an empty paragraph at the beginning", testParagraphTextStorage_InsertEmptyAtBeginning),
1324
-
("test for insering an non-empty paragraph at the beginning", testParagraphTextStorage_InsertNonemptyAtBeginning),
1325
-
("test for insering an empty paragraph in the middle", testParagraphTextStorage_InsertEmptyInMiddle),
1326
-
("test for insering an non-empty paragraph in the middle", testParagraphTextStorage_InsertNonemptyInMiddle),
1327
-
("test for insering an empty paragraph between two paragraphs", testParagraphTextStorage_InsertEmptyBetweenParagraphs),
1328
-
("test for insering an non-empty paragraph between two paragraphs", testParagraphTextStorage_InsertNonemptyBetweenParagraphs),
1329
-
("test for insering an empty paragraph between two other paragraphs", testParagraphTextStorage_InsertEmptyBetweenParagraphs2),
1330
-
("test for insering an empty paragraph at the end", testParagraphTextStorage_InsertEmptyAtEnd),
1331
-
("test for insering an non-empty paragraph at the end", testParagraphTextStorage_InsertNonemptyAtEnd),
1358
+
("test for inserting a new line character into the middle of text heap", testParagraphTextStorage_InsertNewLineInMiddleHeap),
1359
+
("test for inserting following paragraphs", testParagraphTextStorage_InsertFirstParagraphs),
1360
+
("test for inserting an empty paragraph at the beginning", testParagraphTextStorage_InsertEmptyAtBeginning),
1361
+
("test for inserting an non-empty paragraph at the beginning", testParagraphTextStorage_InsertNonemptyAtBeginning),
1362
+
("test for inserting an empty paragraph in the middle", testParagraphTextStorage_InsertEmptyInMiddle),
1363
+
("test for inserting an non-empty paragraph in the middle", testParagraphTextStorage_InsertNonemptyInMiddle),
1364
+
("test for inserting an empty paragraph between two paragraphs", testParagraphTextStorage_InsertEmptyBetweenParagraphs),
1365
+
("test for inserting an non-empty paragraph between two paragraphs", testParagraphTextStorage_InsertNonemptyBetweenParagraphs),
1366
+
("test for inserting an empty paragraph between two other paragraphs", testParagraphTextStorage_InsertEmptyBetweenParagraphs2),
1367
+
("test for inserting an empty paragraph at the end", testParagraphTextStorage_InsertEmptyAtEnd),
1368
+
("test for inserting an non-empty paragraph at the end", testParagraphTextStorage_InsertNonemptyAtEnd),
1332
1369
1333
1370
// editing tests
1334
1371
("test for editing the first paragraph when there's no other paragraphs", testParagraphTextStorage_EditFirstParagraph),
@@ -1354,10 +1391,10 @@ final class ParagraphTextStorageTests: XCTestCase {
1354
1391
("test for incrementally adding and editing paragraphs at the end and periodically insert a new paragraph in the middle", testParagraphTextStorage_IncrementallyAddAndEditParagraphAtEndAndPeriodicallyInsertNewParagraphInMiddle),
1355
1392
("test for incrementally adding and editing paragraphs at the end and then deleting some of them", testParagraphTextStorage_IncrementallyAddAndEditParagraphAtEndAndThenDeleteBunchOfThem),
1356
1393
("test for replacing all of the existing paragraphs with the two new paragraphs", testParagraphTextStorage_ReplaceAllParagraphsWithTwoNewParagraphs),
1357
-
("test for insering an empty paragraph in the middle and then inserting another one", testParagraphTextStorage_InsertBlankParagraphInMiddleAndInsertAnotherOne),
1394
+
("test for inserting an empty paragraph in the middle and then inserting another one", testParagraphTextStorage_InsertBlankParagraphInMiddleAndInsertAnotherOne),
1358
1395
("test for deleting a paragraph in the middle and editing the next one", testParagraphTextStorage_DeleteParagraphInMiddleAndEditingTheNextOne),
1359
-
("test for insering an empty paragraph in the middle and edinging the following one", testParagraphTextStorage_InsertBetweenParagraphsBlankParagraphEditingTheNextOne),
1360
-
("test for incrementally editing and insering paragraphs", testParagraphTextStorage_IncrementalEditingAndInsertingParagraph),
1396
+
("test for inserting an empty paragraph in the middle and edinging the following one", testParagraphTextStorage_InsertBetweenParagraphsBlankParagraphEditingTheNextOne),
1397
+
("test for incrementally editing and inserting paragraphs", testParagraphTextStorage_IncrementalEditingAndInsertingParagraph),
1361
1398
("test for incrementally editing paragraphs and make the first one empty", testParagraphTextStorage_IncrementalEditingAndMakeFirstParagraphEmpty),
1362
1399
("test for incrementally editing paragraphs and make the middle one empty", testParagraphTextStorage_IncrementalEditingAndMakeMiddleParagraphEmpty),
1363
1400
("test for incrementally editing paragraphs and make the last one empty", testParagraphTextStorage_IncrementalEditingAndMakeLastParagraphEmpty)
0 commit comments