Skip to content

Commit 24713b5

Browse files
committed
got/actual update
1 parent 91ff691 commit 24713b5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/validate_published_rules.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import subprocess
2222
import sys
2323

24-
SUMMARY_HEADERS = ["Rule", "Type", "Number", "Execution", "Expected", "Got", "Match"]
24+
SUMMARY_HEADERS = ["Rule", "Type", "Number", "Execution", "Expected", "Actual", "Match"]
2525
CHECKMARK = "\u2705"
2626
CROSS = "\u274c"
2727

@@ -100,7 +100,9 @@ def _build_failure_detail(record: dict) -> str:
100100
lines.append(fh.read())
101101
lines.append("```")
102102
else:
103-
lines.append(f"**Expected:** {record['Expected']} **Got:** {record['Got']}\n")
103+
lines.append(
104+
f"**Expected:** {record['Expected']} **Actual:** {record['Actual']}\n"
105+
)
104106
diff_file = record["_diff_file"]
105107
if diff_file and os.path.isfile(diff_file):
106108
lines.append("```diff")

0 commit comments

Comments
 (0)