summaryrefslogtreecommitdiff
path: root/lib/snmp/test/snmp_agent_test_lib.erl
diff options
context:
space:
mode:
authorKian-Meng, Ang <kianmeng@cpan.org>2021-12-30 20:03:18 +0800
committerKian-Meng, Ang <kianmeng@cpan.org>2021-12-30 20:03:18 +0800
commit3a77c9b8787368dd8e5b0b9dcb494fc444e4fd9e (patch)
tree0aaa40475b7b3d0549ac2f837bed641026dfa554 /lib/snmp/test/snmp_agent_test_lib.erl
parentbff2c60cc7baca10ffdd39a6316c39e546abc471 (diff)
downloaderlang-3a77c9b8787368dd8e5b0b9dcb494fc444e4fd9e.tar.gz
Fix typos in lib/snmp
Diffstat (limited to 'lib/snmp/test/snmp_agent_test_lib.erl')
-rw-r--r--lib/snmp/test/snmp_agent_test_lib.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/snmp/test/snmp_agent_test_lib.erl b/lib/snmp/test/snmp_agent_test_lib.erl
index 2f96a90235..19f7c21432 100644
--- a/lib/snmp/test/snmp_agent_test_lib.erl
+++ b/lib/snmp/test/snmp_agent_test_lib.erl
@@ -590,7 +590,7 @@ tc_run(Mod, Func, Args, Opts) ->
%% We have hosts (mostly *very* slooow VMs) that
%% can timeout anything. Since we are basically
-%% testing communication, we therefor must check
+%% testing communication, we therefore must check
%% for system events at every failure. Grrr!
tc_run_skip_sheck(Mod, Func, Args, Reason, Cat) ->
SysEvs = snmp_test_global_sys_monitor:events(),
@@ -601,7 +601,7 @@ tc_run_skip_sheck(Mod, Func, Args, Reason, Cat) ->
"~n ~p~n", [Cat, Reason]),
?FAIL({apply_failed, {Mod, Func, Args}, Reason});
true ->
- ?WPRINT("apply (~w) catched "
+ ?WPRINT("apply (~w) caught "
"when we got system events: "
"~n Reason: ~p"
"~n Sys Events: ~p"
@@ -1279,7 +1279,7 @@ do_expect(Err, Idx, ExpVBs, To)
when is_atom(Err) andalso
(is_integer(Idx) orelse is_list(Idx) orelse (Idx == any)) ->
Check = fun(_, R) -> R end,
- io_format_expect("'get-response' withing ~w ms with"
+ io_format_expect("'get-response' within ~w ms with"
"~n Error: ~p"
"~n Index: ~p"
"~n Varbinds: ~p", [To, Err, Idx, ExpVBs]),