couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [18/50] meck commit: updated refs/heads/master to dde7590
Date Thu, 31 Jul 2014 21:31:12 GMT
Compact case statement


Project: http://git-wip-us.apache.org/repos/asf/couchdb-meck/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-meck/commit/b3ac62eb
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-meck/tree/b3ac62eb
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-meck/diff/b3ac62eb

Branch: refs/heads/master
Commit: b3ac62ebe333402ed40fb9ef41384687fc30aaad
Parents: 899eece
Author: Adam Lindberg <hello@alind.io>
Authored: Sat Aug 17 14:10:14 2013 +0200
Committer: Adam Lindberg <hello@alind.io>
Committed: Sat Aug 17 14:10:14 2013 +0200

----------------------------------------------------------------------
 test/meck_tests.erl | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-meck/blob/b3ac62eb/test/meck_tests.erl
----------------------------------------------------------------------
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_meck_test_() ->
 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]),


Mime
View raw message