aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2011-12-08 15:57:57 +0100
committerPeter Andersson <[email protected]>2011-12-08 15:57:57 +0100
commit0b2e64a9beb959753d576cc01e65e4bea8ee4571 (patch)
treea982c789e9568906fcc86761218b0d498331d7f0 /lib/common_test/src/ct.erl
parent036699b790635abe1209ba3d4808f2aea1ea6c5e (diff)
downloadotp-0b2e64a9beb959753d576cc01e65e4bea8ee4571.tar.gz
otp-0b2e64a9beb959753d576cc01e65e4bea8ee4571.tar.bz2
otp-0b2e64a9beb959753d576cc01e65e4bea8ee4571.zip
Fix error in documentation
Diffstat (limited to 'lib/common_test/src/ct.erl')
-rw-r--r--lib/common_test/src/ct.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/ct.erl b/lib/common_test/src/ct.erl
index e59a177473..860bfb45ee 100644
--- a/lib/common_test/src/ct.erl
+++ b/lib/common_test/src/ct.erl
@@ -563,10 +563,10 @@ capture_get() ->
%%% @see capture_start/0
%%% @see capture_stop/0
%%% @see log/3
-capture_get([ExclCat | ExclCats]) ->
+capture_get([ExclCat | ExclCategories]) ->
Strs = test_server:capture_get(),
CatsStr = [atom_to_list(ExclCat) |
- [[$| | atom_to_list(EC)] || EC <- ExclCats]],
+ [[$| | atom_to_list(EC)] || EC <- ExclCategories]],
{ok,MP} = re:compile("<div class=\"(" ++ lists:flatten(CatsStr) ++ ")\">.*"),
lists:flatmap(fun(Str) ->
case re:run(Str, MP) of