From 9dd896bfc30d26c69c83adafb2cb018c2800bdec Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Sun, 18 Oct 2026 10:10:57 +0200 Subject: [PATCH] tooltip_display harness: write the case flags in lowercase Rust's bool parser takes only true/false, so the fixture failed on Python's True/False; Java's Boolean.parseBoolean ignores case. Co-Authored-By: Claude Opus 5.5 --- tools/test_tooltip_display_parity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/test_tooltip_display_parity.py b/tools/test_tooltip_display_parity.py index e98807d1b..22b485320 100644 --- a/tools/test_tooltip_display_parity.py +++ b/tools/test_tooltip_display_parity.py @@ -16,7 +16,8 @@ def cases(build): (True, True, True), ] path = build / 'cases.txt' - path.write_text('\n'.join('\t'.join(map(str, row)) for row in values) + '\n') + # Lowercase: Rust's bool parser takes only true/false (Java's parseBoolean ignores case). + path.write_text('\n'.join('\t'.join(str(v).lower() for v in row) for row in values) + '\n') return path, len(values)