diff options
Diffstat (limited to 'lib')
-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 |