From 96ae0ca647474cb2012aa75108128f6fb2c3d668 Mon Sep 17 00:00:00 2001 From: cy Date: Sun, 4 May 2025 03:18:51 -0400 Subject: [PATCH] disable closure test Size of the closure is not deterministic at all. I guess it's because if the package was sourced from a cache, some dependencies may or may not exist in the local nix store. --- tests/path_info.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/path_info.rs b/tests/path_info.rs index 0f9543b..2558703 100644 --- a/tests/path_info.rs +++ b/tests/path_info.rs @@ -44,6 +44,7 @@ async fn path_info_symlink() { assert_eq!(path_info.path.to_string(), HELLO_DRV); } +/* #[tokio::test] async fn closure() { let ctx = common::context(); @@ -54,3 +55,4 @@ async fn closure() { let closure = path_info.get_closure(&ctx.store).await.unwrap(); assert_eq!(closure.len(), 472); } +*/