File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ struct MockStruct {
185185 data : u64 ,
186186}
187187
188+ #[ cfg( any( feature = "stream" , feature = "pyg" , feature = "prepay" ) ) ]
188189#[ test]
189190fn test_priority_multiplier_validation ( ) {
190191 use solana_ai_registries:: payments:: common:: {
@@ -224,7 +225,6 @@ fn test_constant_documentation_exists() {
224225 // by checking they compile and have expected values
225226 use solana_ai_registries:: agent:: * ;
226227 use solana_ai_registries:: mcp:: * ;
227- use solana_ai_registries:: payments:: common:: * ;
228228
229229 // Agent constants
230230 assert_eq ! ( MAX_AGENT_ID_LEN , 64 ) ;
@@ -234,6 +234,14 @@ fn test_constant_documentation_exists() {
234234 // MCP constants
235235 assert_eq ! ( MAX_SERVER_ID_LEN , 64 ) ;
236236 assert_eq ! ( MAX_ONCHAIN_TOOL_DEFINITIONS , 5 ) ;
237+ }
238+
239+ #[ cfg( any( feature = "stream" , feature = "pyg" , feature = "prepay" ) ) ]
240+ #[ test]
241+ fn test_payment_constant_documentation_exists ( ) {
242+ // This test ensures our payment constants are properly documented
243+ // by checking they compile and have expected values
244+ use solana_ai_registries:: payments:: common:: * ;
237245
238246 // Payment constants
239247 assert_eq ! ( A2AMPL_DECIMALS , 9 ) ;
You can’t perform that action at this time.
0 commit comments