diff options
author | Hugh Bellamy <hughbellars@gmail.com> | 2016-04-13 23:25:16 +0300 |
---|---|---|
committer | Hugh Bellamy <hughbellars@gmail.com> | 2016-04-13 23:25:16 +0300 |
commit | 83fd73236311699196314f47a72f30d46f24f067 (patch) | |
tree | 840bb4156552d848a1a62cff45d763bcc1155b59 /src/System.Collections.NonGeneric/tests/SortedListTests.cs | |
parent | f5f865ca9f6aaa40426827d46569cbb65c5a5111 (diff) |
Address PR feedback
Diffstat (limited to 'src/System.Collections.NonGeneric/tests/SortedListTests.cs')
-rw-r--r-- | src/System.Collections.NonGeneric/tests/SortedListTests.cs | 6 |
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) |