Skip to content

Commit ec57a44

Browse files
authored
Merge pull request #1 from depth233/depth233-patch-1
Fix inconsistent test case number in comments and console logs
2 parents e1ba32a + 7802849 commit ec57a44

File tree

1 file changed

+2
-2
lines changed
  • snippets/csharp/System.Collections.Generic/LinkedListT/Overview

1 file changed

+2
-2
lines changed

snippets/csharp/System.Collections.Generic/LinkedListT/Overview/source.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public static void Main()
102102

103103
// Add the node after the node referred to by mark2.
104104
sentence.AddAfter(mark2, current);
105-
IndicateNode(current, "Test 13: Add node removed in test 11 after a referenced node (brown):");
105+
IndicateNode(current, "Test 13: Add node removed in test 12 after a referenced node (brown):");
106106

107107
// The Remove method finds and removes the
108108
// first node that that has the specified value.
@@ -231,7 +231,7 @@ private static void IndicateNode(LinkedListNode<string> node, string test)
231231
//Test 12: Remove current node (dog) and attempt to indicate it:
232232
//Node 'dog' is not in the list.
233233

234-
//Test 13: Add node removed in test 11 after a referenced node (brown):
234+
//Test 13: Add node removed in test 12 after a referenced node (brown):
235235
//the quick brown (dog) jumps over the lazy old fox
236236

237237
//Test 14: Remove node that has the value 'old':

0 commit comments

Comments
 (0)