aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/cleanup.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/test/cleanup.erl')
-rw-r--r--lib/kernel/test/cleanup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/cleanup.erl b/lib/kernel/test/cleanup.erl
index 6e1a1edeac..6df5c4aff4 100644
--- a/lib/kernel/test/cleanup.erl
+++ b/lib/kernel/test/cleanup.erl
@@ -31,7 +31,7 @@ cleanup(_) ->
?line case nodes() of
[] ->
ok;
- Nodes when list(Nodes) ->
+ Nodes when is_list(Nodes) ->
Kill = fun(Node) -> spawn(Node, erlang, halt, []) end,
?line lists:foreach(Kill, Nodes),
?line test_server:fail({nodes_left, Nodes})