From 720451736ed533bdba8b0558b831e8dcd61b8c9b Mon Sep 17 00:00:00 2001 From: Paulo Cabral Date: Tue, 12 Sep 2023 14:30:35 -0300 Subject: [PATCH] chore(pkg): fix test --- lib/dal/tests/integration_test/internal/component.rs | 1 - lib/si-pkg/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dal/tests/integration_test/internal/component.rs b/lib/dal/tests/integration_test/internal/component.rs index 65dab7162d..ce47c7f0d8 100644 --- a/lib/dal/tests/integration_test/internal/component.rs +++ b/lib/dal/tests/integration_test/internal/component.rs @@ -388,7 +388,6 @@ async fn dependent_values_resource_intelligence(mut octx: DalContext) { "type": "component", "protected": false }, - "domain": {} }], // expected noctua_component_view.properties // actual ); diff --git a/lib/si-pkg/src/lib.rs b/lib/si-pkg/src/lib.rs index 58a7a2c397..77d516913b 100644 --- a/lib/si-pkg/src/lib.rs +++ b/lib/si-pkg/src/lib.rs @@ -134,7 +134,7 @@ mod tests { .expect("cannot get funcs by unique id"); let leaf_funcs = variant.leaf_functions().expect("get leaf funcs"); - assert_eq!(3, leaf_funcs.len()); + assert_eq!(2, leaf_funcs.len()); for func in leaf_funcs { assert!(funcs_by_unique_id.contains_key(&func.func_unique_id()));