mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 14:04:52 +02:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user