Skip to content

Commit

Permalink
fix: test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
skanehira committed Feb 24, 2024
1 parent 67ee504 commit b321e78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions denops/docker/http_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Deno.test("http get with options", () => {

assertEquals(
reqStr,
`GET test?json=1&sort=desc&all=true HTTP/1.1\r\nHost: localhost\r\nh1: v1\r\nh2: v2\r\n\r\n{"name":"gorilla","age":28}\r\n`,
`GET test?json=1&sort=desc&all=true HTTP/1.1\r\nHost: localhost\r\nh1: v1\r\nh2: v2\r\nUser-Agent: Docker-Client/25.0.3\r\n\r\n{"name":"gorilla","age":28}\r\n`,
);
});

Expand All @@ -61,6 +61,6 @@ Deno.test("http get without options", () => {

assertEquals(
reqStr,
`GET test HTTP/1.1\r\nHost: localhost\r\n\r\n`,
`GET test HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Docker-Client/25.0.3\r\n\r\n`,
);
});

0 comments on commit b321e78

Please sign in to comment.