aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit/src/eunit_surefire.erl
diff options
context:
space:
mode:
authorRoberto Aloi <[email protected]>2013-08-29 17:14:22 +0200
committerFredrik Gustafsson <[email protected]>2013-11-07 11:29:57 +0100
commit17ed2092eb0c5fa49c3d1f15eab2db77e1b69478 (patch)
tree326788fb7d3db05ad187f882962e49ad3f4f8d90 /lib/eunit/src/eunit_surefire.erl
parent945c8083c17f6f1d474aa26f5643174767f5bb76 (diff)
downloadotp-17ed2092eb0c5fa49c3d1f15eab2db77e1b69478.tar.gz
otp-17ed2092eb0c5fa49c3d1f15eab2db77e1b69478.tar.bz2
otp-17ed2092eb0c5fa49c3d1f15eab2db77e1b69478.zip
Do not attempt to detect lists of printable characters in Data
This is to avoid outputting something like "\"%\f" instead of [34,37,12] in the XML.
Diffstat (limited to 'lib/eunit/src/eunit_surefire.erl')
-rw-r--r--lib/eunit/src/eunit_surefire.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eunit/src/eunit_surefire.erl b/lib/eunit/src/eunit_surefire.erl
index cc021625d5..a2463d32e8 100644
--- a/lib/eunit/src/eunit_surefire.erl
+++ b/lib/eunit/src/eunit_surefire.erl
@@ -174,7 +174,7 @@ handle_cancel(group, Data, St) ->
setup_failed -> "fixture setup ";
cleanup_failed -> "fixture cleanup "
end
- ++ io_lib:format("~p", [proplists:get_value(id, Data)]),
+ ++ io_lib:format("~w", [proplists:get_value(id, Data)]),
Desc = format_desc(proplists:get_value(desc, Data)),
TestCase = #testcase{
name = Name, description = Desc,