google test: Use ASSERT_* instead of EXPECT_*. (#5765)
authorAina Niemetz <aina.niemetz@gmail.com>
Tue, 12 Jan 2021 16:55:56 +0000 (08:55 -0800)
committerGitHub <noreply@github.com>
Tue, 12 Jan 2021 16:55:56 +0000 (08:55 -0800)
commitc2835a8af8a83ba1d728b3cb65a6a56c75a97be0
tree074df1eebfb37a7e1e83b7cb813cbf0cb9854fa8
parenta38a642eab886d298ea3b658c9823544c3a35f27
google test: Use ASSERT_* instead of EXPECT_*. (#5765)

Use ASSERT instead of EXPECT for consistency. There's no real benefit
for us to use EXPECT -- the main difference is that within a test,
EXPECT failures do not terminate the test, while ASSERT failures do.

This further fixes a minor issue in theory_sets_type_rules_white.h
(which is still not migrated to google test yet).
16 files changed:
test/unit/api/datatype_api_black.cpp
test/unit/api/op_black.cpp
test/unit/api/result_black.cpp
test/unit/api/solver_black.cpp
test/unit/api/sort_black.cpp
test/unit/api/term_black.cpp
test/unit/base/map_util_black.cpp
test/unit/context/cdlist_black.cpp
test/unit/context/cdo_black.cpp
test/unit/context/context_black.cpp
test/unit/context/context_white.cpp
test/unit/expr/attribute_black.cpp
test/unit/expr/attribute_white.cpp
test/unit/expr/kind_black.cpp
test/unit/expr/node_algorithm_black.cpp
test/unit/theory/theory_sets_type_rules_white.h