diff options
author | Anthony Ramine <[email protected]> | 2013-06-08 13:17:11 +0200 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2013-06-10 12:18:01 +0200 |
commit | 3011d16bfcff0dbdd369d4701751ab106dde100f (patch) | |
tree | d3a7946745c6fd0208cfca76929060775610ba9b /lib/common_test/src | |
parent | a49832f74d364e01d9fb7a98caf3ca942a0a0341 (diff) | |
download | otp-3011d16bfcff0dbdd369d4701751ab106dde100f.tar.gz otp-3011d16bfcff0dbdd369d4701751ab106dde100f.tar.bz2 otp-3011d16bfcff0dbdd369d4701751ab106dde100f.zip |
Wrap eunit macros into begin ... end blocks
This makes typos such as missing commas between two assertions
(e.g. ?assert(true) ?assert(true)) syntax errors instead of silently
compiling and failing with a badfun error at runtime.
This won't break any existing code as parenthesed expressions and blocks
have the same precedence and none of these macros can be used as patterns.
Diffstat (limited to 'lib/common_test/src')
0 files changed, 0 insertions, 0 deletions