This commit is contained in:
Andrei Neculau 2016-02-28 23:30:28 +01:00
parent 45069e519e
commit ff8c78f02f
2 changed files with 10 additions and 4 deletions

View File

@ -120,8 +120,11 @@ ref(Config) ->
refRemote(Config) ->
TestDir = os:getenv("TEST_DIR"),
DocumentRoot = filename:join(TestDir, "JSON-Schema-Test-Suite/remotes"),
ServerOpts = [{port, 1234}, {server_name, "localhost"}, {server_root, "."},
{document_root, DocumentRoot}],
ServerOpts = [ {port, 1234}
, {server_name, "localhost"}
, {server_root, "."}
, {document_root, DocumentRoot}
],
inets:start(httpd, ServerOpts),
do_test("refRemote", Config).

View File

@ -134,8 +134,11 @@ ref(Config) ->
refRemote(Config) ->
TestDir = os:getenv("TEST_DIR"),
DocumentRoot = filename:join(TestDir, "JSON-Schema-Test-Suite/remotes"),
ServerOpts = [{port, 1234}, {server_name, "localhost"}, {server_root, "."},
{document_root, DocumentRoot}],
ServerOpts = [ {port, 1234}
, {server_name, "localhost"}
, {server_root, "."}
, {document_root, DocumentRoot}
],
inets:start(httpd, ServerOpts),
do_test("refRemote", Config).