From ae65e0ea09f367a8765168055f58ecd405383787 Mon Sep 17 00:00:00 2001 From: joel-medicala-yral Date: Wed, 4 Dec 2024 22:44:54 +0530 Subject: [PATCH] fixed tests --- .../tests/backup_and_restore/download_snapshot_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/integration_tests/tests/backup_and_restore/download_snapshot_test.rs b/src/lib/integration_tests/tests/backup_and_restore/download_snapshot_test.rs index 068a8904..6d0815ee 100644 --- a/src/lib/integration_tests/tests/backup_and_restore/download_snapshot_test.rs +++ b/src/lib/integration_tests/tests/backup_and_restore/download_snapshot_test.rs @@ -1350,7 +1350,7 @@ fn all_canister_snapshot_tests(){ offset += length; } - println!("data: {}", serde_json::from_slice::<'_, String>(&data).unwrap()); + println!("data: {}", std::str::from_utf8(&data).unwrap()); let snapshot_len = data.len() as u64; let mut offset: u64 = 0;