diff options
author | Peter Andersson <peppe@erlang.org> | 2011-12-08 15:57:57 +0100 |
---|---|---|
committer | Peter Andersson <peppe@erlang.org> | 2011-12-08 15:57:57 +0100 |
commit | 0b2e64a9beb959753d576cc01e65e4bea8ee4571 (patch) | |
tree | a982c789e9568906fcc86761218b0d498331d7f0 | |
parent | 036699b790635abe1209ba3d4808f2aea1ea6c5e (diff) | |
download | otp-0b2e64a9beb959753d576cc01e65e4bea8ee4571.tar.gz otp-0b2e64a9beb959753d576cc01e65e4bea8ee4571.tar.bz2 otp-0b2e64a9beb959753d576cc01e65e4bea8ee4571.zip |
Fix error in documentation
-rw-r--r-- | lib/common_test/src/ct.erl | 4 |
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 |