Skip to content

Commit

Permalink
fix build-auth test
Browse files Browse the repository at this point in the history
libgit2 somehow reverted the version back to 0.25.0 after the 0.25.1 release

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
  • Loading branch information
Keruspe committed Apr 30, 2017
1 parent f8d2883 commit 5d76dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/build-auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ fn http_auth_offered() {
let mut conn = BufStream::new(server.accept().unwrap().0);
let req = headers(&mut conn);
let user_agent = if cfg!(windows) {
"User-Agent: git/1.0 (libgit2 0.25.1)"
"User-Agent: git/1.0 (libgit2 0.25.0)"
} else {
"User-Agent: git/2.0 (libgit2 0.25.1)"
"User-Agent: git/2.0 (libgit2 0.25.0)"
};
conn.write_all(b"\
HTTP/1.1 401 Unauthorized\r\n\
Expand Down

0 comments on commit 5d76dd2

Please sign in to comment.