aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit/src/eunit_data.erl
diff options
context:
space:
mode:
authorZandra Hird <[email protected]>2015-05-11 15:07:39 +0200
committerZandra Hird <[email protected]>2015-05-11 15:07:39 +0200
commit0fad26858f4e952d25ef5372dda634587ad77b57 (patch)
tree37bb39c15e7f74d1df97eb12a065d1456d5ea483 /lib/eunit/src/eunit_data.erl
parent1f9201ca7db28e19e92c094b0317230ee930829c (diff)
parent65d41cb6c514308ab11645dc2d0842d4f6b629a4 (diff)
downloadotp-0fad26858f4e952d25ef5372dda634587ad77b57.tar.gz
otp-0fad26858f4e952d25ef5372dda634587ad77b57.tar.bz2
otp-0fad26858f4e952d25ef5372dda634587ad77b57.zip
Merge branch 'vladdu/eunit_unicode_OTP11660'
* vladdu/eunit_unicode_OTP11660: OTP-11660: make eunit unicode safe
Diffstat (limited to 'lib/eunit/src/eunit_data.erl')
-rw-r--r--lib/eunit/src/eunit_data.erl2
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;