Closed popematt closed 3 weeks ago
None
format!()
validate.rs
validate
complaint.rs
Example usage and output (but ok is green and FAILED is red, just like the cargo test report).
ok
FAILED
cargo test
❯ cargo run -- schema -X validate -R 'document' **/*.ion code-gen-projects/input/good/scalar/empty_value.ion ... ok code-gen-projects/input/good/scalar/valid_value.ion ... ok code-gen-projects/input/good/sequence/empty_sequence.ion ... FAILED code-gen-projects/input/good/sequence/valid_elements.ion ... ok code-gen-projects/input/good/struct_with_fields/empty_values.ion ... FAILED code-gen-projects/input/good/struct_with_fields/valid_fields.ion ... ok code-gen-projects/input/good/struct_with_fields/valid_unordered_fields.ion ... ok
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available:
None
Description of changes:
format!()
string. Seevalidate.rs
for example usage.validate
command.complaint.rs
.Example usage and output (but
ok
is green andFAILED
is red, just like thecargo test
report).By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.