Skip to content

Commit

Permalink
Change .Http Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahao6635 committed Jan 13, 2024
1 parent 63460ba commit 85d8a97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
HTTP/1.1 200 OK
Server: GitHub.com
Date: Sat, 13 Jan 2024 07:37:57 GMT
Date: Sat, 13 Jan 2024 08:01:32 GMT
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=60, s-maxage=60
Vary: Accept, Accept-Encoding, Accept, X-Requested-With
Expand All @@ -17,13 +17,13 @@ X-XSS-Protection: 0
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
Content-Security-Policy: default-src 'none'
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Remaining: 54
X-RateLimit-Reset: 1705134976
X-RateLimit-Resource: core
X-RateLimit-Used: 2
X-RateLimit-Used: 6
Accept-Ranges: bytes
Content-Length: 479
X-GitHub-Request-Id: 4642:B1098:D4200:E4058:65A23DD5
X-GitHub-Request-Id: 4759:B1098:F5468:107910:65A2435B

{
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
Expand Down
2 changes: 1 addition & 1 deletion tests/scm/driver/github/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fn test_git_trees() {
.replace("{repo}", REPO)
.replace("{tree_sha}", REFERENCE);

let setup = mock("GET", &path, "scm/github/git/git-trees-success");
let setup = mock("GET", &path, "scm/github/git/trees-success");
let service = GithubGitService { client: setup.0 };
let result = service.git_trees(REPO, REFERENCE, Some(true));
assert!(result.is_ok());
Expand Down

0 comments on commit 85d8a97

Please sign in to comment.