Skip to content

Commit

Permalink
fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
joksas committed Oct 21, 2023
1 parent 40fe018 commit 8fdae86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ fn test_json() {
];

for test in tests {
if let Some(expected) = test.expected.as_ref().ok() {
if let Ok(expected) = test.expected.as_ref() {
let serialized = chapters::to_json(expected).unwrap();
assert_eq!(serialized.trim(), test.file_contents.trim());
}
Expand Down

0 comments on commit 8fdae86

Please sign in to comment.