Skip to content

Commit

Permalink
test: fix test names
Browse files Browse the repository at this point in the history
  • Loading branch information
murar8 committed Feb 3, 2024
1 parent 5cf5530 commit ef87be1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_deserialize_with.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct Foo {
}

#[test]
fn test_serialize_with() {
fn test_deserialize_with() {
let item = Foo {
bar1: OffsetDateTime::from_unix_timestamp(1000000000).ok(),
bar2: vec![OffsetDateTime::from_unix_timestamp(1000000000).ok()],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub struct Foo {
}

#[test]
fn test_with() {
fn test_serialize_deserialize_with() {
let item = Foo { bar: OffsetDateTime::from_unix_timestamp(1000000000).ok() };

assert_tokens(
Expand Down

0 comments on commit ef87be1

Please sign in to comment.