Skip to main content

validate_spec_test

Function validate_spec_test 

Source
pub fn validate_spec_test(test: &SpecTestCase) -> Result<(), String>
Expand description

Validate a single spectest case.

Returns Ok(()) if the YAML parses correctly and the normalized ops match the expected ops JSON. Returns Err(message) on failure.