Ordered Hashtables .Keys and .Values properties aren't regular arrays #124
Labels
Category-Koans
Invoking the Great Doubt
Good First Issue ❇️
Should be quick and easy!
Issue-Bug 🐛
Something's wrong!
Up For Grabs / Hacktoberfest 💻
If it's Up For Grabs, take it and run with it! If not, ask if it's in progress / you can take it.
Describe "Koan Bug, Issue, or Help Request"
https://github.com/vexx32/PSKoans/blob/master/PSKoans/Koans/Foundations/AboutHashtables.Koans.ps1#L137
Context "Your Attempts"
The
.Keys
and.Values
properties of ordered hashtables aren't regular arrays and so these assertions fail, even when the learner enters the values in order.Context "Additional Information"
Appending
.ForEach{$_}
to both lines to get an array out of these properties would work around this issue. Otherwise the arrays will have to be constructed differently.The text was updated successfully, but these errors were encountered: