diff options
author | Brujo Benavides <[email protected]> | 2018-08-06 07:16:20 -0300 |
---|---|---|
committer | GitHub <[email protected]> | 2018-08-06 07:16:20 -0300 |
commit | 7b30cb88aceba1e65f2fb175b76ebb157aa904da (patch) | |
tree | 584b7858de3d9a344807e92f854168e962aa9806 /lib | |
parent | ce0ab49ca59dc56cb4774abc1f635b7ff9cf97df (diff) | |
download | otp-7b30cb88aceba1e65f2fb175b76ebb157aa904da.tar.gz otp-7b30cb88aceba1e65f2fb175b76ebb157aa904da.tar.bz2 otp-7b30cb88aceba1e65f2fb175b76ebb157aa904da.zip |
Update documentation for ct:timetrap/1
Even when `ct:sleep/1` accepts `Millisecs` as floats, `ct:timetrap/1` does not.
If you try to use it in a test, you get the following error:
```erlang
{invalid_time_format,0.1}
```
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common_test/doc/src/ct.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/doc/src/ct.xml b/lib/common_test/doc/src/ct.xml index b51dee266b..c0380c4142 100644 --- a/lib/common_test/doc/src/ct.xml +++ b/lib/common_test/doc/src/ct.xml @@ -1522,7 +1522,7 @@ <v>Hours = integer()</v> <v>Mins = integer()</v> <v>Secs = integer()</v> - <v>Millisecs = integer() | float()</v> + <v>Millisecs = integer()</v> <v>Func = {M, F, A} | function()</v> <v>M = atom()</v> <v>F = atom()</v> |