Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Useragent test fail #1083

Closed
BernhardtD opened this issue May 11, 2018 · 0 comments · Fixed by #1084
Closed

HTTP Useragent test fail #1083

BernhardtD opened this issue May 11, 2018 · 0 comments · Fixed by #1084

Comments

@BernhardtD
Copy link

The useragent tests fail with the following responses:

[  FAILED  ] 3 tests, listed below:
[  FAILED  ] premake_http.http_get
...e/daniel/workspace/premake-core/tests/base/test_http.lua:19: (1) expected:
{
...but was:
{"user-agent":"Premake/5.0.0-dev"}
fulltext:
{"user-agent":"Premake/5.0.0-dev"}

stack traceback:
	...e/daniel/workspace/premake-core/tests/base/test_http.lua:19: in function 'testFunction'
[  FAILED  ] premake_http.https_get
...e/daniel/workspace/premake-core/tests/base/test_http.lua:33: (1) expected:
{
...but was:
{"user-agent":"Premake/5.0.0-dev"}
fulltext:
{"user-agent":"Premake/5.0.0-dev"}

stack traceback:
	...e/daniel/workspace/premake-core/tests/base/test_http.lua:33: in function 'testFunction'
[  FAILED  ] premake_http.https_get_verify_peer
...e/daniel/workspace/premake-core/tests/base/test_http.lua:45: (1) expected:
{
...but was:
{"user-agent":"Premake/5.0.0-dev"}
fulltext:
{"user-agent":"Premake/5.0.0-dev"}

stack traceback:
	...e/daniel/workspace/premake-core/tests/base/test_http.lua:45: in function 'testFunction'

 3 FAILED TESTS

It seems that the httpbin response format of the useragent request has been changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant