mirror of
https://github.com/anthonyoteri/dredge.git
synced 2026-06-05 15:26:53 -04:00
Automated code cleanup
This commit is contained in:
+2
-2
@@ -163,10 +163,10 @@ pub fn parse_response_status(response: &reqwest::Response) -> Result<(), ApiErro
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
|
||||||
|
|
||||||
use http::header::HeaderValue;
|
use http::header::HeaderValue;
|
||||||
|
|
||||||
|
use super::*;
|
||||||
|
|
||||||
/// Test parsing a valid RFC5988 header value.
|
/// Test parsing a valid RFC5988 header value.
|
||||||
///
|
///
|
||||||
/// Attempt to parse a valid RFC5988 header value, and ensure that the
|
/// Attempt to parse a valid RFC5988 header value, and ensure that the
|
||||||
|
|||||||
+1
-1
@@ -199,7 +199,7 @@ mod tests {
|
|||||||
cli.command,
|
cli.command,
|
||||||
Commands::Show {
|
Commands::Show {
|
||||||
image: String::from("foo"),
|
image: String::from("foo"),
|
||||||
tag: None
|
tag: None,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -16,8 +16,9 @@
|
|||||||
|
|
||||||
#![deny(clippy::pedantic)]
|
#![deny(clippy::pedantic)]
|
||||||
|
|
||||||
use clap::Parser;
|
|
||||||
use std::io::{self, Write};
|
use std::io::{self, Write};
|
||||||
|
|
||||||
|
use clap::Parser;
|
||||||
use url::Url;
|
use url::Url;
|
||||||
|
|
||||||
use crate::cli::Cli;
|
use crate::cli::Cli;
|
||||||
|
|||||||
Reference in New Issue
Block a user