Follow

So, in to compare two dicts of tuples I do `assert dict1 == dict2`, and it means that they should contain same keys, with same values, where "same" means comparing tuples item by item.

For my project I need to import a library (and fight dependency gotchas) and write a few lines of `assertThat` and `hasEntry`, and it still looks like I'll have to explain to the poor compiler what equality means for plain records… sorry, data classes…

I'm frustrated :-(

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!