summaryrefslogtreecommitdiff
path: root/lib/kernel/test/erl_distribution_SUITE.erl
diff options
context:
space:
mode:
authorKian-Meng, Ang <kianmeng@cpan.org>2021-12-19 16:30:37 +0800
committerKian-Meng, Ang <kianmeng@cpan.org>2021-12-23 20:56:00 +0800
commit796f11d4de1552abbcaf32052cc31f0ae5386222 (patch)
treeefb19ba39c5c351f4b3ef96a6baca81e72e29e95 /lib/kernel/test/erl_distribution_SUITE.erl
parent58838fa1b2a9325003e67b54630a64d75c390284 (diff)
downloaderlang-796f11d4de1552abbcaf32052cc31f0ae5386222.tar.gz
Fix typos in lib/kernel
Co-authored-by: Björn Gustavsson <bgustavsson@gmail.com>
Diffstat (limited to 'lib/kernel/test/erl_distribution_SUITE.erl')
-rw-r--r--lib/kernel/test/erl_distribution_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kernel/test/erl_distribution_SUITE.erl b/lib/kernel/test/erl_distribution_SUITE.erl
index fbfe47e2da..2274d7f838 100644
--- a/lib/kernel/test/erl_distribution_SUITE.erl
+++ b/lib/kernel/test/erl_distribution_SUITE.erl
@@ -303,14 +303,14 @@ illegal(Name) ->
test_node(Name) ->
test_node(Name, false).
-test_node(Name, Illigal) ->
- test_node(Name, Illigal, "").
-test_node(Name, Illigal, ExtraArgs) ->
+test_node(Name, Illegal) ->
+ test_node(Name, Illegal, "").
+test_node(Name, Illegal, ExtraArgs) ->
ProgName = ct:get_progname(),
Command = ProgName ++ " -noinput " ++
long_or_short() ++ Name ++ ExtraArgs ++
" -eval \"net_adm:ping('" ++ atom_to_list(node()) ++ "')\"" ++
- case Illigal of
+ case Illegal of
true ->
" -eval \"timer:sleep(10000),init:stop().\"";
false ->