Skip to content

Commit 9aefce4

Browse files
author
Romil Punetha
committed
Further removes to_string appearances in tests
1 parent 94c658f commit 9aefce4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ mod tests {
11461146
.try_make_index(&client)
11471147
.unwrap();
11481148

1149-
assert_eq!(index.uid.to_string(), index_uid);
1149+
assert_eq!(index.uid, index_uid);
11501150
index
11511151
.delete()
11521152
.await?

src/documents.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ mod tests {
433433
async fn test_generate_index(client: Client) -> Result<(), Error> {
434434
let index: Index = MovieClips::generate_index(&client).await.unwrap();
435435

436-
assert_eq!(index.uid.to_string(), "movie_clips");
436+
assert_eq!(index.uid, "movie_clips");
437437

438438
index
439439
.delete()

0 commit comments

Comments
 (0)