This makes it possible to match views by value: ```rust expect_that!( response.clients(), unordered_elements_are![ proto_eq(proto!(Client { name: "Alice" }).as_view()), proto_eq(proto!(Client { name: "Bob" }).as_view()) ] ); ``` where `clients()` return an iterator over `ClientView` values. PiperOrigin-RevId: 692192744pull/19087/head
parent
e2eb0a19aa
commit
d2f4410107
2 changed files with 40 additions and 0 deletions
Loading…
Reference in new issue