From bfb1214110e2324cf34b0b11843d485e82c5f84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acharn=C3=A9?= Date: Sun, 2 Aug 2026 20:31:28 +0700 Subject: [PATCH] test(infra): cover Terraform slash comments --- tools/repo-cli/test/terraform-safety.test.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/repo-cli/test/terraform-safety.test.mjs b/tools/repo-cli/test/terraform-safety.test.mjs index b29e0816..34f43d26 100644 --- a/tools/repo-cli/test/terraform-safety.test.mjs +++ b/tools/repo-cli/test/terraform-safety.test.mjs @@ -6,6 +6,7 @@ import { balancedBlocks } from '../src/terraform-safety.mjs'; test('Terraform block scanning ignores comments, heredocs, and braces in strings', () => { const source = ` # ingress { cidr_blocks = ["0.0.0.0/0"] } +// ingress { cidr_blocks = ["0.0.0.0/0"] } } /* ingress { cidr_blocks = ["0.0.0.0/0"] } */ locals { description = <<-EOT