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.
This commit is contained in:
Wukuyon
2025-10-19 19:30:34 -06:00
parent 0a6ed15858
commit 77a3fc8dd2

View File

@@ -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