mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00: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:
parent
0a6ed15858
commit
77a3fc8dd2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue