Skip to content

Commit 80ace69

Browse files
committed
Rename tests
1 parent d28d532 commit 80ace69

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

crates/jmap/src/api/query.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ mod tests {
188188
}
189189

190190
#[test]
191-
fn test_pagination_position_with_1_anchor_offset() {
191+
fn test_pagination_with_1_anchor_offset() {
192192
let mut builder = create_builder(3, 0, Some(3), 1);
193193

194194
for i in 0..10 {
@@ -211,7 +211,7 @@ mod tests {
211211
}
212212

213213
#[test]
214-
fn test_pagination_position_with_positive_anchor_offset() {
214+
fn test_pagination_with_positive_anchor_offset() {
215215
let mut builder = create_builder(3, 0, Some(3), 2);
216216

217217
for i in 0..10 {
@@ -234,7 +234,7 @@ mod tests {
234234
}
235235

236236
#[test]
237-
fn test_pagination_position_with_zero_anchor_offset() {
237+
fn test_pagination_with_zero_anchor_offset() {
238238
let mut builder = create_builder(3, 0, Some(5), 0);
239239

240240
for i in 0..10 {
@@ -254,7 +254,7 @@ mod tests {
254254
}
255255

256256
#[test]
257-
fn test_pagination_without_anchor_from_start() {
257+
fn test_pagination_with_position_from_start() {
258258
let mut builder = create_builder(3, 0, None, 0);
259259

260260
for i in 0..10 {
@@ -274,7 +274,7 @@ mod tests {
274274
}
275275

276276
#[test]
277-
fn test_pagination_without_anchor_with_offset() {
277+
fn test_pagination_with_position_with_offset() {
278278
let mut builder = create_builder(3, 5, None, 0);
279279

280280
for i in 0..10 {
@@ -294,7 +294,7 @@ mod tests {
294294
}
295295

296296
#[test]
297-
fn test_pagination_without_anchor_partial_results() {
297+
fn test_pagination_with_position_partial_results() {
298298
let mut builder = create_builder(5, 3, None, 0);
299299

300300
for i in 0..5 {

0 commit comments

Comments
 (0)