Currently, when attempting to match against an expected value of "false", the test fails. This is caused by match_hash doing a "||" concatenation of a hash lookup of the key as a string with the key as a symbol. If the actual hash contains string keys, this lookup will result in nil instead of false, which fails the comparison.
BTW, this is an awesome library. Thanks for sharing it!
Currently, when attempting to match against an expected value of "false", the test fails. This is caused by match_hash doing a "||" concatenation of a hash lookup of the key as a string with the key as a symbol. If the actual hash contains string keys, this lookup will result in nil instead of false, which fails the comparison.
BTW, this is an awesome library. Thanks for sharing it!
Regards, George