diff options
author | Hans Bolinder <[email protected]> | 2018-01-19 10:37:06 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-01-22 15:28:51 +0100 |
commit | a92b77d7cd19947bd3896dcd96c7e389efdec2de (patch) | |
tree | 1df1ef37f818785ef87c8bf567089ff55c93c2b7 /lib/stdlib/test/io_SUITE.erl | |
parent | bd873955db32c470f082c3629627a10c84c9c208 (diff) | |
download | otp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.tar.gz otp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.tar.bz2 otp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.zip |
stdlib: Correct contracts
Diffstat (limited to 'lib/stdlib/test/io_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/io_SUITE.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/stdlib/test/io_SUITE.erl b/lib/stdlib/test/io_SUITE.erl index e2c73371cd..16e3dba969 100644 --- a/lib/stdlib/test/io_SUITE.erl +++ b/lib/stdlib/test/io_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1999-2017. All Rights Reserved. +%% Copyright Ericsson AB 1999-2018. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -714,7 +714,7 @@ p(Term, D) -> rp(Term, 1, 80, D). p(Term, Col, Ll, D) -> - rp(Term, Col, Ll, D, no_fun). + rp(Term, Col, Ll, D, none). rp(Term, Col, Ll, D) -> rp(Term, Col, Ll, D, fun rfd/2). @@ -724,6 +724,8 @@ rp(Term, Col, Ll, D) -> rp(Term, Col, Ll, D, RF) -> rp(Term, Col, Ll, D, ?MAXCS, RF). +rp(Term, Col, Ll, D, M, none) -> + rp(Term, Col, Ll, D, M, fun(_, _) -> no end); rp(Term, Col, Ll, D, M, RF) -> %% io:format("~n~n*** Col = ~p Ll = ~p D = ~p~n~p~n-->~n", %% [Col, Ll, D, Term]), |