aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/cth_surefire.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-08-29 15:45:33 +0200
committerHans Bolinder <[email protected]>2019-01-17 09:51:34 +0100
commit8b21b2ef5c46f6a831beb9ee4445582c4558e8ba (patch)
tree04bbd5555dcf00f754c41ad69c2ed37cd6196530 /lib/common_test/src/cth_surefire.erl
parent401bd13ffd39052d4125fbc6fc8360dc08121883 (diff)
downloadotp-8b21b2ef5c46f6a831beb9ee4445582c4558e8ba.tar.gz
otp-8b21b2ef5c46f6a831beb9ee4445582c4558e8ba.tar.bz2
otp-8b21b2ef5c46f6a831beb9ee4445582c4558e8ba.zip
common_test: Adjust some calls to io:format()
Diffstat (limited to 'lib/common_test/src/cth_surefire.erl')
-rw-r--r--lib/common_test/src/cth_surefire.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/cth_surefire.erl b/lib/common_test/src/cth_surefire.erl
index b0742717ae..c9b4cb10c6 100644
--- a/lib/common_test/src/cth_surefire.erl
+++ b/lib/common_test/src/cth_surefire.erl
@@ -235,7 +235,7 @@ close_suite(#state{ test_cases = TCs, url_base = UrlBase } = State) ->
terminate(State = #state{ test_cases = [] }) ->
{ok,D} = file:open(State#state.filepath,[write,{encoding,utf8}]),
io:format(D, "<?xml version=\"1.0\" encoding= \"UTF-8\" ?>", []),
- io:format(D, to_xml(State), []),
+ io:format(D, "~ts", [to_xml(State)]),
catch file:sync(D),
catch file:close(D);
terminate(State) ->