File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -919,7 +919,7 @@ mod tests {
919919
920920 // Confirm both events have the same timestamp
921921 assert_eq ! ( event1. created_at, event2. created_at) ;
922- assert_eq ! ( event1. created_at. as_u64 ( ) , 1754066538 ) ;
922+ assert_eq ! ( event1. created_at. as_secs ( ) , 1754066538 ) ;
923923
924924 // Confirm event1 has the smaller ID (lexicographically first)
925925 assert ! ( event1. id. to_string( ) < event2. id. to_string( ) ) ;
@@ -1003,7 +1003,7 @@ mod tests {
10031003
10041004 // Confirm both events have the same timestamp and d-tag
10051005 assert_eq ! ( event1. created_at, event2. created_at) ;
1006- assert_eq ! ( event1. created_at. as_u64 ( ) , 1754066538 ) ;
1006+ assert_eq ! ( event1. created_at. as_secs ( ) , 1754066538 ) ;
10071007 assert_eq ! ( event1. tags. identifier( ) , event2. tags. identifier( ) ) ;
10081008 assert_eq ! ( event1. tags. identifier( ) , Some ( "article-123" ) ) ;
10091009
You can’t perform that action at this time.
0 commit comments