File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
server/svix-server/tests/it Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -894,13 +894,13 @@ async fn test_pagination_by_msg() {
894
894
}
895
895
896
896
/// Adds 5ms to a [`chrono::DateTime`] for testing `before` and `after`
897
- fn add_5ms < T : chrono:: TimeZone > ( dur : chrono:: DateTime < T > ) -> chrono:: DateTime < T > {
898
- dur + chrono:: Duration :: from_std ( std:: time:: Duration :: from_millis ( 5 ) ) . unwrap ( )
897
+ fn add_5ms < T : chrono:: TimeZone > ( ts : chrono:: DateTime < T > ) -> chrono:: DateTime < T > {
898
+ ts + chrono:: Duration :: from_std ( std:: time:: Duration :: from_millis ( 5 ) ) . unwrap ( )
899
899
}
900
900
901
901
/// Subtracts 5ms to a [`chrono::DateTime`] for testing `before` and `after`
902
- fn sub_5ms < T : chrono:: TimeZone > ( dur : chrono:: DateTime < T > ) -> chrono:: DateTime < T > {
903
- dur - chrono:: Duration :: from_std ( std:: time:: Duration :: from_millis ( 5 ) ) . unwrap ( )
902
+ fn sub_5ms < T : chrono:: TimeZone > ( ts : chrono:: DateTime < T > ) -> chrono:: DateTime < T > {
903
+ ts - chrono:: Duration :: from_std ( std:: time:: Duration :: from_millis ( 5 ) ) . unwrap ( )
904
904
}
905
905
}
906
906
You can’t perform that action at this time.
0 commit comments