Skip to content

Commit af8f9af

Browse files
committed
Fix tests
1 parent 0ab7919 commit af8f9af

File tree

3 files changed

+62
-3
lines changed

3 files changed

+62
-3
lines changed

Cargo.lock

Lines changed: 59 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ zip = { version = "2.6.1", default-features = false, features = ["deflate"] }
3333

3434
[dev-dependencies]
3535
assert_cmd = "2.0.17"
36+
tempfile = "3.20.0"
3637

3738
[lints.clippy]
3839
all = "warn"

src/error.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use std::result::Result as StdResult;
66

77
use yansi::Paint;
88

9+
#[derive(Debug)]
910
pub enum ErrorKind {
1011
ParseToml,
1112
ParsePage,
@@ -14,6 +15,7 @@ pub enum ErrorKind {
1415
Other,
1516
}
1617

18+
#[derive(Debug)]
1719
pub struct Error {
1820
pub kind: ErrorKind,
1921
message: String,

0 commit comments

Comments
 (0)