commit | 14e0d76298d76908361dfd57a187199ccf6bea78 | [log] [tgz] |
---|---|---|
author | Taylor Cramer <cramertj@google.com> | Wed Apr 24 00:15:54 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 24 00:15:54 2024 +0000 |
tree | 324ae0ab93785bf037450ac62d201ddd7d1adeb6 | |
parent | dea2ecf94d39c9c6f97140190bc6a796d5205b96 [diff] |
pw_unit_test: Standardize ASSERT_OK_AND_ASSIGN Previously, this construct did not match the behaivor of the standard Google ASSERT_OK_AND_ASSIGN nor PW_TRY_ASSIGN. Prior to this change, ASSERT_OK_AND_ASSIGN would return a reference to the provided value, rather than returning an rvalue. After this change, ASSERT_OK_AND_MOVE is now deprecated. Change-Id: Idbed8b0e7589d9b98f891e4f4c189bcbeb668653 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/205946 Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Reviewed-by: Taylor Cramer <cramertj@google.com> Reviewed-by: Carlos Chinchilla <cachinchilla@google.com> Pigweed-Auto-Submit: Taylor Cramer <cramertj@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.