diff options
author | Björn Gustavsson <[email protected]> | 2016-09-15 10:08:34 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-09-15 10:08:34 +0200 |
commit | 060949fb1ee7d1af366372b43dde5add421a5f73 (patch) | |
tree | 32fbdacea2f204dca081e83150cd0548e922c38c /lib | |
parent | 20baf4c3d2a9e3d814ddc46f45d81b3fe20805b8 (diff) | |
parent | cebef1207eca1cdc8c601b172988a74fd0858efa (diff) | |
download | otp-060949fb1ee7d1af366372b43dde5add421a5f73.tar.gz otp-060949fb1ee7d1af366372b43dde5add421a5f73.tar.bz2 otp-060949fb1ee7d1af366372b43dde5add421a5f73.zip |
Merge branch 'maint'
* maint:
Ensure asserts are enabled in eunit.hrl
Diffstat (limited to 'lib')
-rw-r--r-- | lib/eunit/include/eunit.hrl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/eunit/include/eunit.hrl b/lib/eunit/include/eunit.hrl index 7fd6c206a4..8a4cad1e7e 100644 --- a/lib/eunit/include/eunit.hrl +++ b/lib/eunit/include/eunit.hrl @@ -51,7 +51,9 @@ %% note that the main switch used within this file is NOTEST; however, %% both TEST and EUNIT may be used to check whether testing is enabled -ifndef(NOTEST). --undef(NOASSERT). % testing requires that assertions are enabled +-ifndef(ASSERT). +-define(ASSERT, true). % testing requires that assertions are enabled +-endif. -ifndef(TEST). -define(TEST, true). -endif. |