Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugh Bellamy <hughbellars@gmail.com>2016-04-13 23:25:16 +0300
committerHugh Bellamy <hughbellars@gmail.com>2016-04-13 23:25:16 +0300
commit83fd73236311699196314f47a72f30d46f24f067 (patch)
tree840bb4156552d848a1a62cff45d763bcc1155b59 /src/System.Collections.NonGeneric/tests/SortedListTests.cs
parentf5f865ca9f6aaa40426827d46569cbb65c5a5111 (diff)
Address PR feedback
Diffstat (limited to 'src/System.Collections.NonGeneric/tests/SortedListTests.cs')
-rw-r--r--src/System.Collections.NonGeneric/tests/SortedListTests.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/System.Collections.NonGeneric/tests/SortedListTests.cs b/src/System.Collections.NonGeneric/tests/SortedListTests.cs
index 2fff21768e..5cc64e32af 100644
--- a/src/System.Collections.NonGeneric/tests/SortedListTests.cs
+++ b/src/System.Collections.NonGeneric/tests/SortedListTests.cs
@@ -759,7 +759,7 @@ namespace System.Collections.Tests
Assert.Throws<ArgumentException>("array", () => keys.CopyTo(new object[10, 10], 0)); // Array is multidimensional
Assert.Throws<ArgumentOutOfRangeException>("dstIndex", () => keys.CopyTo(new object[100], -1)); // Index < 0
- Assert.Throws<ArgumentException>("", () => keys.CopyTo(new object[150], 51)); // Index + list.Count > array.Count
+ Assert.Throws<ArgumentException>(string.Empty, () => keys.CopyTo(new object[150], 51)); // Index + list.Count > array.Count
});
}
@@ -999,7 +999,7 @@ namespace System.Collections.Tests
Assert.Throws<ArgumentException>("array", () => values.CopyTo(new object[10, 10], 0)); // Array is multidimensional
Assert.Throws<ArgumentOutOfRangeException>("dstIndex", () => values.CopyTo(new object[100], -1)); // Index < 0
- Assert.Throws<ArgumentException>("", () => values.CopyTo(new object[150], 51)); // Index + list.Count > array.Count
+ Assert.Throws<ArgumentException>(string.Empty, () => values.CopyTo(new object[150], 51)); // Index + list.Count > array.Count
});
}
@@ -1443,7 +1443,7 @@ namespace System.Collections.Tests
public void GetSyncRootBasic()
{
// Testing SyncRoot is not as simple as its implementation looks like. This is the working
- // scenrio we have in mind.
+ // scenario we have in mind.
// 1) Create your Down to earth mother SortedList
// 2) Get a synchronized wrapper from it
// 3) Get a Synchronized wrapper from 2)