Fix httpbin useragent response format.
if result then
p.out(result)
test.capture(
- '{\n "user-agent": "Premake/' .. _PREMAKE_VERSION .. '"\n}'
+ '{"user-agent": "Premake/' .. _PREMAKE_VERSION .. '"}'
)
else
test.fail(err);
if result then
p.out(result)
test.capture(
- '{\n "user-agent": "Premake/' .. _PREMAKE_VERSION .. '"\n}'
+ '{"user-agent": "Premake/' .. _PREMAKE_VERSION .. '"}'
)
else
test.fail(err);
if result then
p.out(result)
test.capture(
- '{\n "user-agent": "Premake/' .. _PREMAKE_VERSION .. '"\n}'
+ '{"user-agent": "Premake/' .. _PREMAKE_VERSION .. '"}'
)
else
test.fail(err);
