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_data.erl | |
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_data.erl')
-rw-r--r-- | lib/eunit/src/eunit_data.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eunit/src/eunit_data.erl b/lib/eunit/src/eunit_data.erl index cbbc6fbc15..8b53a3681d 100644 --- a/lib/eunit/src/eunit_data.erl +++ b/lib/eunit/src/eunit_data.erl @@ -391,7 +391,7 @@ parse({with, X, As}=T) when is_list(As) -> parse({S, T1} = T) when is_list(S) -> case eunit_lib:is_string(S) of true -> - group(#group{tests = T1, desc = list_to_binary(S)}); + group(#group{tests = T1, desc = unicode:characters_to_binary(S)}); false -> bad_test(T) end; |