Skip to content

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

refactor(profiles): reorder test module declaration

Steven Enamakel0cda3df79f70
diff --git a/crates/openhuman-core/src/profiles/schemas.rs b/crates/openhuman-core/src/profiles/schemas.rs
index fce24de004..43b14e2880 100644
--- a/crates/openhuman-core/src/profiles/schemas.rs
+++ b/crates/openhuman-core/src/profiles/schemas.rs
@@ -269,11 +269,11 @@ fn bool_field(name: &'static str, comment: &'static str) -> FieldSchema {
}
}
-#[cfg(test)]
-#[path = "schemas_tests.rs"]
-mod tests;
-
#[cfg(test)]
pub(crate) fn profile_parameter_contracts() -> Vec<crate::core::all::ControllerParamContract> {
tests::profile_parameter_contracts()
}
+
+#[cfg(test)]
+#[path = "schemas_tests.rs"]
+mod tests;