From 4db506deae1871ce7ebaff2faa80e0af8ddd4f25 Mon Sep 17 00:00:00 2001 From: Anand Krishnamoorthi Date: Tue, 4 Jun 2024 20:10:35 -0700 Subject: [PATCH] Update OPA tests to v0.65.0 Signed-off-by: Anand Krishnamoorthi --- tests/opa.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/opa.rs b/tests/opa.rs index 9c36b285..3962bf64 100644 --- a/tests/opa.rs +++ b/tests/opa.rs @@ -13,7 +13,7 @@ use serde::{Deserialize, Serialize}; use walkdir::WalkDir; const OPA_REPO: &str = "https://github.com/open-policy-agent/opa"; -const OPA_BRANCH: &str = "v0.64.0"; +const OPA_BRANCH: &str = "v0.65.0"; #[derive(Serialize, Deserialize, PartialEq, Debug)] #[serde(deny_unknown_fields)] @@ -325,9 +325,9 @@ fn run_opa_tests(opa_tests_dir: String, folders: &[String]) -> Result<()> { if npass == 0 && nfail == 0 { bail!("no matching tests found."); } else if nfail == 0 { - println!("\x1b[32m {:42}: {npass:4} {nfail:4}\x1b[0m", "TOTAL"); + println!("\x1b[32m {:40}: {npass:4} {nfail:4}\x1b[0m", "TOTAL"); } else { - println!("\x1b[31m {:42}: {npass:4} {nfail:4}\x1b[0m", "TOTAL"); + println!("\x1b[31m {:40}: {npass:4} {nfail:4}\x1b[0m", "TOTAL"); } if !missing_functions.is_empty() {