Skip to content

Commit

Permalink
tests: fix expected string format
Browse files Browse the repository at this point in the history
  • Loading branch information
kartva committed Aug 22, 2024
1 parent ffb0b21 commit 7bafabe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/experimental/src/duration/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,14 +748,14 @@ mod tests {
.format(&positive_duration)
.write_to_string()
.into_owned(),
"0 years"
"0 yrs"
);
assert_eq!(
formatter
.format(&negative_duration)
.write_to_string()
.into_owned(),
"0 years"
"0 yrs"
);
}
}

0 comments on commit 7bafabe

Please sign in to comment.