Updated chrome protocol library

This commit is contained in:
Musab Gültekin
2019-11-16 20:34:57 +03:00
parent 6645820408
commit cbca22fefb
4 changed files with 17 additions and 22 deletions

View File

@ -7,9 +7,7 @@ import (
func TestResponse_JoinURL(t *testing.T) {
req, _ := NewRequest("GET", "https://localhost.com/test/a.html", nil)
resp := Response{
Response: nil,
Request: req,
}
resp := Response{Request: req}
assert.Equal(t, "https://localhost.com/source", resp.JoinURL("/source"))
}