Skip to content

Commit de56f77

Browse files
committed
server: Fix confusing variable name
1 parent 4563448 commit de56f77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/svix-server/tests/it/e2e_attempt.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -894,13 +894,13 @@ async fn test_pagination_by_msg() {
894894
}
895895

896896
/// 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()
899899
}
900900

901901
/// 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()
904904
}
905905
}
906906

0 commit comments

Comments
 (0)