Merge pull request #1084 from SchmidtD/master

Fix httpbin useragent response format.
This commit is contained in:
Thomas Desveaux 2018-05-11 20:55:37 +02:00 committed by GitHub
commit 2b0e3f1442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@
if result then
p.out(result)
test.capture(
'{\n "user-agent": "Premake/' .. _PREMAKE_VERSION .. '"\n}'
'{"user-agent": "Premake/' .. _PREMAKE_VERSION .. '"}'
)
else
test.fail(err);
@ -31,7 +31,7 @@
if result then
p.out(result)
test.capture(
'{\n "user-agent": "Premake/' .. _PREMAKE_VERSION .. '"\n}'
'{"user-agent": "Premake/' .. _PREMAKE_VERSION .. '"}'
)
else
test.fail(err);
@ -43,7 +43,7 @@
if result then
p.out(result)
test.capture(
'{\n "user-agent": "Premake/' .. _PREMAKE_VERSION .. '"\n}'
'{"user-agent": "Premake/' .. _PREMAKE_VERSION .. '"}'
)
else
test.fail(err);