aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSE.txt
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-05-09 13:10:42 +0200
committerBjörn Gustavsson <[email protected]>2016-05-10 10:58:08 +0200
commitedd0fe3d1923bf2d4170233176d2e27946062496 (patch)
tree5fa0a14ad0e09ceab1001dc0e4870e919babf1e6 /LICENSE.txt
parent715876f5e6d40bc75ad8f3e6c4c70249aea0fc66 (diff)
downloadotp-edd0fe3d1923bf2d4170233176d2e27946062496.tar.gz
otp-edd0fe3d1923bf2d4170233176d2e27946062496.tar.bz2
otp-edd0fe3d1923bf2d4170233176d2e27946062496.zip
ct_logs: Eliminate dialyzer warnings
common_test uses its own IO server that is group leader for the test case processes. By default, the IO server escapes characters with significance to HTML (e.g. '<'). In order to output HTML tags directly, the IO server must be told not to escape the output. The way to tell the IO server is to wrap the format string like this: ["$ct_html",Format] That works with common_test's own IO server, but in general not with other IO servers. Dialyzer will rightly complain that the call breaks the contract for io:format/3. To avoid the Dialyzer warning, we must obscure the wrapping of the format string. While we are at it, also refactor print_style/4 to make the code somewhat cleaner and shorter.
Diffstat (limited to 'LICENSE.txt')
0 files changed, 0 insertions, 0 deletions