mirror of
https://github.com/valitydev/jesse.git
synced 2024-11-06 09:35:23 +00:00
style
This commit is contained in:
parent
45069e519e
commit
ff8c78f02f
@ -120,8 +120,11 @@ ref(Config) ->
|
|||||||
refRemote(Config) ->
|
refRemote(Config) ->
|
||||||
TestDir = os:getenv("TEST_DIR"),
|
TestDir = os:getenv("TEST_DIR"),
|
||||||
DocumentRoot = filename:join(TestDir, "JSON-Schema-Test-Suite/remotes"),
|
DocumentRoot = filename:join(TestDir, "JSON-Schema-Test-Suite/remotes"),
|
||||||
ServerOpts = [{port, 1234}, {server_name, "localhost"}, {server_root, "."},
|
ServerOpts = [ {port, 1234}
|
||||||
{document_root, DocumentRoot}],
|
, {server_name, "localhost"}
|
||||||
|
, {server_root, "."}
|
||||||
|
, {document_root, DocumentRoot}
|
||||||
|
],
|
||||||
inets:start(httpd, ServerOpts),
|
inets:start(httpd, ServerOpts),
|
||||||
do_test("refRemote", Config).
|
do_test("refRemote", Config).
|
||||||
|
|
||||||
|
@ -134,8 +134,11 @@ ref(Config) ->
|
|||||||
refRemote(Config) ->
|
refRemote(Config) ->
|
||||||
TestDir = os:getenv("TEST_DIR"),
|
TestDir = os:getenv("TEST_DIR"),
|
||||||
DocumentRoot = filename:join(TestDir, "JSON-Schema-Test-Suite/remotes"),
|
DocumentRoot = filename:join(TestDir, "JSON-Schema-Test-Suite/remotes"),
|
||||||
ServerOpts = [{port, 1234}, {server_name, "localhost"}, {server_root, "."},
|
ServerOpts = [ {port, 1234}
|
||||||
{document_root, DocumentRoot}],
|
, {server_name, "localhost"}
|
||||||
|
, {server_root, "."}
|
||||||
|
, {document_root, DocumentRoot}
|
||||||
|
],
|
||||||
inets:start(httpd, ServerOpts),
|
inets:start(httpd, ServerOpts),
|
||||||
do_test("refRemote", Config).
|
do_test("refRemote", Config).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user