diff options
Diffstat (limited to 'src/post.rs')
| -rw-r--r-- | src/post.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post.rs b/src/post.rs index 51614aa..ef744b4 100644 --- a/src/post.rs +++ b/src/post.rs @@ -122,7 +122,7 @@ mod tests { let post = Post { metadata: Metadata { id: "cool".to_string(), - created_on: 1736035200000, + created_on: 1_736_035_200_000, }, index: 28, html: "<p>beep boop</p>".to_string(), @@ -135,7 +135,7 @@ beep boop" let context = post.to_template_value(); assert_eq!(context["id"], Value::String("cool".to_string())); - assert_eq!(context["created_on"], Value::Unsigned(1736035200000)); + assert_eq!(context["created_on"], Value::Unsigned(1_736_035_200_000)); assert_eq!( context["created_on_utc"], Value::String("Sun, 05 Jan 2025 00:00:00 +0000".to_string()) |