diff options
author | Vlad Dumitrescu <[email protected]> | 2015-03-12 23:04:30 +0100 |
---|---|---|
committer | Vlad Dumitrescu <[email protected]> | 2015-03-12 23:04:30 +0100 |
commit | 65d41cb6c514308ab11645dc2d0842d4f6b629a4 (patch) | |
tree | 415ffb892239c26a317e2ac96743e6771d39ebe4 /lib/eunit/src/eunit_internal.hrl | |
parent | bcf520a6aeb5ff4423ade377e38269383b52e8f7 (diff) | |
download | otp-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.hrl | 4 |
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). |