mirror of
https://github.com/google/googletest.git
synced 2025-04-04 21:15:03 +00:00
Merge fac82b687b
into 52204f78f9
This commit is contained in:
commit
ca105a7119
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ You may still want to use `SetUp()/TearDown()` in the following cases:
|
|||
enabled in the compiler. Therefore you should prefer `TearDown()` if you
|
||||
want to write portable tests that work with or without exceptions.
|
||||
* The GoogleTest team is considering making the assertion macros throw on
|
||||
platforms where exceptions are enabled (e.g. Windows, Mac OS, and Linux
|
||||
platforms where exceptions are enabled (e.g. Windows, macOS, and Linux
|
||||
client-side), which will eliminate the need for the user to propagate
|
||||
failures from a subroutine to its caller. Therefore, you shouldn't use
|
||||
GoogleTest assertions in a destructor if your code could run on such a
|
||||
|
|
Loading…
Add table
Reference in a new issue