Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(tinyflows): assert builtin scope via precedence

Steven Enamakel65950fc8c285
diff --git a/tests/tinyflows_published_prompt_e2e.rs b/tests/tinyflows_published_prompt_e2e.rs
index fa72e48164..5f2ead7b28 100644
--- a/tests/tinyflows_published_prompt_e2e.rs
+++ b/tests/tinyflows_published_prompt_e2e.rs
@@ -79,7 +79,7 @@ async fn published_module_prompts_render_through_the_normal_host_path() {
.iter()
.find(|skill| skill.id() == "flow-authoring")
.expect("the published module's flow-authoring skill is discoverable");
- assert_eq!(flow.scope, tinyskills::SkillScope::Builtin);
+ assert_eq!(flow.scope.precedence(), 0, "flow-authoring is a Builtin");
let flow_dir = flow
.location
.as_deref()