commit | 550547d0385f1cb8a905d4322a7ae7452a0d3e7b | [log] [tgz] |
---|---|---|
author | qyearsley <[email protected]> | Wed Jun 22 17:47:01 2016 |
committer | Commit bot <[email protected]> | Wed Jun 22 17:50:42 2016 |
tree | f8c372a8072e9ac772cb60117b20a5707fe8ed0d | |
parent | 11cc0a1fa7c0c7b3ece2962c32ce6f914689cfa7 [diff] |
Expand memoized_unittest and clarify error message. Specifically: - Improve style in memoized_unittest - Make test methods clearer - Make error message clearer if a non-hashable type is passed to a memoized function - Add unit test for this The purpose of this change is just to clarify the code. Review-Url: https://codereview.chromium.org/2073193003 Cr-Commit-Position: refs/heads/master@{#401337}