Skip to content

Commit

Permalink
fix(test): disable run get album info test
Browse files Browse the repository at this point in the history
  • Loading branch information
M3DZIK committed Sep 5, 2022
1 parent ecb5855 commit 2ac3424
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
<!-- next-header -->

## [Unreleased]
- moved cli to other crate
- added get_album function

## [0.8.1] - 2022-06-18
- fix tests
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resolver = "2"

[package]
name = "imgurs"
version = "0.8.1"
version = "0.9.0"
description = "API for Imgur"
license = "BSD-3-Clause"
authors = ["MedzikUser <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion imgurs-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "imgurs-cli"
version = "0.8.1"
version = "0.9.0"
description = "CLI for Imgur"
license = "BSD-3-Clause"
authors = ["MedzikUser <[email protected]>"]
Expand Down
4 changes: 2 additions & 2 deletions src/imgur/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ impl ImgurClient {
}

/// Get album info from a Imgur
/// ```
/// ```no_run
/// use imgurs::ImgurClient;
///
/// #[tokio::main]
/// async fn main() {
/// let client = ImgurClient::new("3e3ce0d7ac14d56");
///
/// client.album_info("lFaGr1x").await.expect("delete album");
/// client.album_info("id").await.expect("get album info");
/// }
/// ```
pub async fn album_info(&self, id: &str) -> Result<AlbumInfo> {
Expand Down

0 comments on commit 2ac3424

Please sign in to comment.