From 77a3fc8dd2375acffb04a84395e11ae5e0e2a626 Mon Sep 17 00:00:00 2001 From: Wukuyon Date: Sun, 19 Oct 2025 19:30:34 -0600 Subject: [PATCH] Swap expected/actual variables in t function in test_utf8_simd_decode For more useful debugging. The expected value is what the scalar decoder returns. The actual value is what the "which" SIMD decoder returns. --- kitty_tests/parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty_tests/parser.py b/kitty_tests/parser.py index aa8352135..468df32ff 100644 --- a/kitty_tests/parser.py +++ b/kitty_tests/parser.py @@ -214,9 +214,9 @@ class TestParser(BaseTest): return esc_found, ''.join(parts), total_consumed reset_state() - actual = parse_parts(1) + expected = parse_parts(1) reset_state() - expected = parse_parts(which) + actual = parse_parts(which) self.ae(expected, actual, msg=f'Failed for {a} with {which=}\n{expected!r} !=\n{actual!r}') return actual