mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
More OPA conformance; in-progress: ability to trace interpreter (#63)
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
committed by
GitHub
parent
73ee18f002
commit
577e1aa8db
+8
-5
@@ -85,11 +85,14 @@ fn run_aci_tests(dir: &Path) -> Result<()> {
|
||||
println!("passed {:?}", duration);
|
||||
}
|
||||
Ok(actual) => {
|
||||
println!("failed {:?}", duration);
|
||||
println!("ACTUAL:");
|
||||
println!("{}", serde_json::to_string(&actual)?);
|
||||
println!("EXPECTED");
|
||||
println!("{}", serde_json::to_string(&case.want_result)?);
|
||||
println!(
|
||||
"DIFF {}",
|
||||
colored_diff::PrettyDifference {
|
||||
expected: &serde_yaml::to_string(&case.want_result)?,
|
||||
actual: &serde_yaml::to_string(&actual)?
|
||||
}
|
||||
);
|
||||
|
||||
nfailures += 1;
|
||||
}
|
||||
Err(e) => {
|
||||
|
||||
Reference in New Issue
Block a user