Commit 56e12778 authored by An Ionescu's avatar An Ionescu

Fixing IndexOutOfRange bug due to specifying the wrong array length in ContainsNoExcludedKeys.

parent 36ead619
......@@ -104,7 +104,7 @@ namespace Anvoker.Collections.Maps.Tests
var fails = new List<TKey>();
bool testPassed = true;
for (int i = 0; i < initialKeys.Length; i++)
for (int i = 0; i < excludedKeys.Length; i++)
{
bool result = collection.ContainsKey(excludedKeys[i]);
testPassed |= !result;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment