about summary refs log tree commit diff
path: root/src/tests.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2019-02-26T16·54+0100
committerVincent Ambo <mail@tazj.in>2019-02-26T16·54+0100
commitacc7e64a0d0d26ad2c529b992b96b72f8029d29d (patch)
tree2c88b31b7e9e72ea1b46f5f9bbaaf2dec2cbe55d /src/tests.rs
parentde86cc551a75d37d551f6a7069067c235754b833 (diff)
refactor: Use cURL's own basic auth implementation
Drops the dependency on the base64-crate, which it turns out isn't
necessary as cURL has this built-in.
Diffstat (limited to 'src/tests.rs')
-rw-r--r--src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests.rs b/src/tests.rs
index 9fce04b15f21..97798dbcdd26 100644
--- a/src/tests.rs
+++ b/src/tests.rs
@@ -101,7 +101,7 @@ fn test_bearer_auth() {
     assert!(response.is_success(), "authorized request should succeed");
 }
 
-#[cfg(feature = "basic_auth")] #[test]
+#[test]
 fn test_basic_auth() {
     let request = Request::new(
         Method::Get, "https://httpbin.org/basic-auth/alan_watts/oneness"