aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/include/assert.hrl
AgeCommit message (Collapse)Author
2016-11-30Merge branch 'richcarl/assert-comments/PR-1224/OTP-14066'Björn Gustavsson
* richcarl/assert-comments/PR-1224/OTP-14066: Add comment-versions of assert macros
2016-11-29Add comment-versions of assert macrosRichard Carlsson
For all assert macros in assert.hrl, add corresponding versions with an additional last Comment argument, assumed to be chardata. If an exception occurs, it will contain an entry {comment, Comment}, which a reporting tool may pretty-print for better readability.
2016-11-23Correct copyright on stdlib filesRichard Carlsson
2016-04-21Avoid dialyzer warnings for unreachable code in assertsRichard Carlsson
Dialyzer would warn about uses of the ?assert(BoolExpr) macro in assert.hrl if the argument was known to be boolean-only.
2016-04-21Make assert macro implementations uniformRichard Carlsson
2016-03-15update copyright-yearHenrik Nord
2015-06-18Change license text to APLv2Bruce Yinhe
2015-06-03Break out assert macros from eunit to stdlib assert.hrlRichard Carlsson
Several people have requested that the assert macros in EUnit should be moved out to a separate header file. This patch puts them in stdlib/include/assert.hrl, which gets included by the eunit.hrl file. Thus, nothing changes for eunit users, but the asserts can now also be included separately.