Compact case statement
diff --git a/test/meck_tests.erl b/test/meck_tests.erl
index fdfed4b..03d4cf0 100644
--- a/test/meck_tests.erl
+++ b/test/meck_tests.erl
@@ -1149,10 +1149,8 @@
remote_setup() ->
[] = os:cmd("epmd -daemon"),
case node() of
- 'nonode@nohost' ->
- Hostname = "localhost";
- _ ->
- Hostname = test_server_sup:hoststr()
+ 'nonode@nohost' -> Hostname = "localhost";
+ _ -> Hostname = test_server_sup:hoststr()
end,
Myself = list_to_atom("meck_eunit_test@" ++ Hostname),
net_kernel:start([Myself, shortnames]),