aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit/src/eunit_internal.hrl
diff options
context:
space:
mode:
authorVlad Dumitrescu <[email protected]>2015-03-12 23:04:30 +0100
committerVlad Dumitrescu <[email protected]>2015-03-12 23:04:30 +0100
commit65d41cb6c514308ab11645dc2d0842d4f6b629a4 (patch)
tree415ffb892239c26a317e2ac96743e6771d39ebe4 /lib/eunit/src/eunit_internal.hrl
parentbcf520a6aeb5ff4423ade377e38269383b52e8f7 (diff)
downloadotp-65d41cb6c514308ab11645dc2d0842d4f6b629a4.tar.gz
otp-65d41cb6c514308ab11645dc2d0842d4f6b629a4.tar.bz2
otp-65d41cb6c514308ab11645dc2d0842d4f6b629a4.zip
OTP-11660: make eunit unicode safe
All output from eunit is unicode, including the surefire XML files.
Diffstat (limited to 'lib/eunit/src/eunit_internal.hrl')
-rw-r--r--lib/eunit/src/eunit_internal.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/eunit/src/eunit_internal.hrl b/lib/eunit/src/eunit_internal.hrl
index 92694ec39b..8e1e27811f 100644
--- a/lib/eunit/src/eunit_internal.hrl
+++ b/lib/eunit/src/eunit_internal.hrl
@@ -14,8 +14,8 @@
-define(DEFAULT_MODULE_WRAPPER_NAME, eunit_wrapper_).
-ifdef(DEBUG).
--define(debugmsg(S),io:fwrite("\n* ~s: ~s\n", [?MODULE,S])).
--define(debugmsg1(S,As),io:fwrite("\n* ~s: " ++ S ++ "\n", [?MODULE] ++ As)).
+-define(debugmsg(S),io:fwrite("\n* ~ts: ~ts\n", [?MODULE,S])).
+-define(debugmsg1(S,As),io:fwrite("\n* ~ts: " ++ S ++ "\n", [?MODULE] ++ As)).
-else.
-define(debugmsg(S),ok).
-define(debugmsg1(S,As),ok).