Skip to content

Commit

Permalink
Feedback addressing
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekgh authored and github-actions committed Nov 9, 2022
1 parent 1d6c42e commit d649235
Showing 1 changed file with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1611,17 +1611,10 @@ public void DifferentDictionaryBindingCasesTest()
.AddInMemoryCollection(dic)
.Build();

var _dictionary = config.Get<Dictionary<string, string>>();
Assert.Single(_dictionary);

var _dictionaryInterface = config.Get<IDictionary<string, string>>();
Assert.Single(_dictionaryInterface);

var _extendedDictionaryClass = config.Get<ExtendedDictionary<string, string>>();
Assert.Single(_extendedDictionaryClass);

var _implementerOfIDictionaryClass = config.Get<ImplementerOfIDictionaryClass<string, string>>();
Assert.Single(_implementerOfIDictionaryClass);
Assert.Single(config.Get<Dictionary<string, string>>());
Assert.Single(config.Get<IDictionary<string, string>>());
Assert.Single(config.Get<ExtendedDictionary<string, string>>());
Assert.Single(config.Get<ImplementerOfIDictionaryClass<string, string>>());
}

public class ImplementerOfIDictionaryClass<TKey, TValue> : IDictionary<TKey, TValue>
Expand Down

0 comments on commit d649235

Please sign in to comment.