aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit/src/eunit_tests.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-02-03 15:33:11 +0100
committerHans Bolinder <[email protected]>2016-02-17 09:17:33 +0100
commit7113a52be93505b2db99cfa7a37160e80722a203 (patch)
treeebf6722bc00691811a003e2f77d7bda53cab78ad /lib/eunit/src/eunit_tests.erl
parent98f74d1f6f1109cbd0cbc495ed3d8630271ce8c6 (diff)
downloadotp-7113a52be93505b2db99cfa7a37160e80722a203.tar.gz
otp-7113a52be93505b2db99cfa7a37160e80722a203.tar.bz2
otp-7113a52be93505b2db99cfa7a37160e80722a203.zip
eunit: Add suppression of Dialyzer warnings
Diffstat (limited to 'lib/eunit/src/eunit_tests.erl')
-rw-r--r--lib/eunit/src/eunit_tests.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/eunit/src/eunit_tests.erl b/lib/eunit/src/eunit_tests.erl
index 47ea0aaf46..5dee1cb49e 100644
--- a/lib/eunit/src/eunit_tests.erl
+++ b/lib/eunit/src/eunit_tests.erl
@@ -23,6 +23,8 @@
-include("eunit.hrl").
+-dialyzer(no_match).
+
-ifdef(TEST).
id(X) -> X. % for suppressing compiler warnings
-endif.